Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 210725

(Bug) Mail Sending Twice

$
0
0

Replies: 0

Downloaded the recent update and noticed that mail sends twice.

I fixed it in vscf-form.php by commenting out the redundant wp_mail call (the conditional executes the function and then checks it so the prior call isn’t useful):

			/* wp_mail($to, $subject, $message, $headers); */

			if(wp_mail($to, $subject, $message, $headers) == true) ... 

Viewing all articles
Browse latest Browse all 210725

Trending Articles