• sa2009

    (@sa2009)


    Hi, does anyone have any experience with getting the formbuilder email to work on a fasthosts linux account?

    Everything seems to work fine, except the emails never arrive. Fasthosts mention something about the from address having to be an address associated with the account (which it is) and recommend the following line of code:

    ini_set(“sendmail_from”, “user@yourdomain.com”);

    (http://www.fasthosts.co.uk/knowledge-base/?article_id=70)

    Can anyone advise where to put this or anyway of doing it through formbuilder in a hidden field?

Viewing 7 replies - 1 through 7 (of 7 total)
  • sworddude247

    (@sworddude247)

    I don’t have a clue, but if you are looking to make a form, try forumlogix.com.

    TruthMedia

    (@truthmedia)

    Hi Sa2009,

    I’m not familiar with that specific host, however based on what you’ve posted, I would recommend putting that line of code right under the FORMBUILDER_VERSION_NUM line in the code of formbuilder.php.

    Something like this…

    define(“FORMBUILDER_VERSION_NUM”, “0.77”);
    ini_set(“sendmail_from”, “user@yourdomain.com”);

    It is unfortunate that the host you are using has this requirement. You will need to make this change to the code every time you upgrade FormBuilder to the latest version, in order to avoid breaking it each time you upgrade.

    As an alternate solution, you could potentially add the line to your wp-config.php file for WordPress as a whole, which would cause all of wordpress to send mail with your email address in the FROM field.

    Hope this is helpful,
    James W.

    Hi sa2009
    Have you had any luck with this?
    Thanks

    I successfully installed the formbuilder on one website and tried to install on another with the following error code:

    Fatal error: Call to undefined function session_start() in /usr/local/www/data/wordpress/wp-content/plugins/formbuilder/captcha/CaptchaSecurityImages.php on line 26

    Has anyone else received this error message?

    How do I correct it?

    Thank you

    For all those using WordPress 2.8 and having this really frustrating Fasthosts issue, adding this code (changing youremail@defaultfasthosts.com to your default Fasthosts email address) works in the config.php file. Thank you Truthmedia, who made the suggestion.

    For anyone looking for a new host for WordPress, I’d recommend something other than Fasthosts. Spent hours on teh phone with them trying to resolve this, was cut off twice and they just didn’t understand the issue. I was also told that, although they recommend WordPress, that it was also not guaranteed to work on certain hosting packages.

    I have no idea of any security implications by putting this in the config file. Advice from anyone?

    function wp_mail( $to, $subject, $message, $headers = '' ) {
    $email_from="youremail@defaultfasthosts.com"; // Make sure this is a fasthosts hosted email address
    $email_to = $to;
    ini_set("sendmail_from", $email_from);
    $email_subject = $subject;
    $email_headers = "From: $email_from"."\r\n"."Reply-To: $email_from"."\r\n";
    $email_message= $message;
    $sent = mail($email_to, $email_subject, $email_message, $email_headers, "-f".$email_from);
    return $sent;
    }

    hi bliz999

    ive been having the same problem for weeks.

    I added this code to my wp-config.php file but still getting the You must provide at least one recipient email address.?

    Is there anything extra i need to do.

    I’m also with fasthosts, running cforms and atahulapa theme – driving me nuts –

    ive tried mutiple forms with the same prob

    any help appreciated.

    actually now i’m back to just no email arriving on the other side…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: FormBuilder] Formbuilder and Fasthosts’ is closed to new replies.