Forums

  1. Chazzer
    Member
    Posted 10 months ago #

    Hi

    My hosting company has announced that it will be switching off PHP Mail very shortly for it's shared hosting clients [that's me].

    After this, mail must be sent out by SMTP. There is a plugin which enables WordPress for SMTP. Will SMCF send mail using WP rather than PHP Mail?

    Thanks

    http://wordpress.org/extend/plugins/simplemodal-contact-form-smcf/

  2. Chazzer
    Member
    Posted 10 months ago #

    OK. No response but I fixed it myself.

    Dependency: Needs WP Mail SMTP plugin installed and configured

    Change one line in smcf_data.php :

    from @mail($to, $subject, $body, $headers) or
    to @wp_mail($to, $subject, $body, $headers) or

    Also take the opportunity for modify $body to customise email message if you like.

    Works like a charm which means you can continue using this great modal contact form with smtp instead of PHP Mail.

    Maybe the author could enhance the plugin.

Reply

You must log in to post.

About this Plugin

About this Topic