We are currently setting up a WordPress site with multiple contact forms (using Contact Form 7 v.4.1). Outgoing e-mail is sent from a Gmail address using WP-Mail-SMTP v.0.9.5, and the "Send all WordPress emails via SMTP." option is selected. Sending a test email works perfectly, and submitting a contact form gives the "Your message was sent successfully. Thanks." message, but these messages never arrive.
I've currently tried the following (usually no more than one at a time):
- Changing the "From" field from "[your-name] <[your-email]>" to "[your-name] our.own.address@our.company"
- Adding "Sender: noreply@our.company" to the additional headers
- Changing the "Reply-to" in the additional headers from "[your-email]" to "our.own.address@our.company"
- Entering my personal address in the e-mail field of the form
- Entering the destination address in the e-mail field of the form
What's most mysterious about this is that at some point in this testing one of my coworkers managed to successfully send an e-mail via a contact form (and all the timestamps in the e-mail were within the same minute, so it wasn't just delayed forever), and I haven't been able to make it happen again.
Help.