Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22594

    Hi

    I cant seem to make the form work in the Choices theme, the email needs to send via SMTP. To do this I have added the plugin WP-Mail-SMTP. Is this a plugin compatibility issue? Any help would be gratefully appreciated. Please go steady on the dev talk as I am not a developer :) only a designer

    Thanks

    #116323

    Our theme does not use the wp_mail function (modified wordpress core function to send mails) but afaik Kriesi uses the standard php mail() function. If you want to use wp smtp you need to replace this mail() function with wp_mail() – open up wp-contentthemeschoicesframeworkphpclass-form-generator.php and replace:

    mail($from, $this->form_params['autoresponder_subject'], $message, $header);

    with:

    wp_mail($from, $this->form_params['autoresponder_subject'], $message, $header);

    and:

    mail($to, $subject, $message, $header);

    with:

    wp_mail($to, $subject, $message, $header);

    #116324

    Perfect….! thank you so much for your prompt reply… Great service

    #116325

    Hey,

    Glad Peter fixed it.

    Regards,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Form Issue in Choices’ is closed to new replies.