• Resolved dfidelis

    (@dfidelis)


    Hello all and sorry for my bad english, this post is to help people like me who uses SMTP plugins togheter with this one.

    I’m using this plugin with WP-Mail-SMTP and couldn’t get my e-mails delivered, so I made a change in the quick-contact-form/quick-contact-form.php that worked fine.

    After the SMTP plugin is already set (in my case with a gmail acc), look for these lines in the quick-contact-form.php and add wp_ in front of the two mail( as shown (the first one was already with wp_ when I edited the file):

    if ($reply['mail'] == 'wp-mail') wp_mail($qcf_email, $subject, $message, $headers);
    	else wp_mail($qcf_email, $subject, $message, $headers);
    
    	if ($reply['sendcopy']) wp_mail($values['qcfname2'], $reply['replysubject'], $copycontent, $headers);

    Dont know why, but forcing the plugin to use wp_mail (besides the option available in the Send config screen) worked for me. Hope it helps!

    http://wordpress.org/plugins/quick-contact-form/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dfidelis

    (@dfidelis)

    Forgot to mention that these are the lines number 347~350 in the quick-contact-form.php file 🙂

    Thanks Dfidelis,

    I have been tying to work out a solution to this problem for a while. What I may well do is remove the mail() option and just use wp_mail. I can then add an SMTP configuration bit to the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP-Mail-SMTP QCF’ is closed to new replies.