Reputation: 852
is anyone having this problem? just won't send. the form says sent, but i do not receive anything.
i found a couple of threads and tried some of the suggestions but still not working
http://wordpress.org/support/topic/cant-send-e-mail-from-my-wordpress-site
http://wordpress.org/support/topic/wordpress-371-compatibility
Upvotes: 0
Views: 6102
Reputation: 46
Though the Contact Form 7 plugin successfully sends millions of emails every day, there are a host of issues that can stop or delay emails on both the sending and receiving ends. It depends entirely on your local Server & WordPress configuration.
You will need to investigate this issue for your particular local configuration. See Contact Form 7 Email Issues & Problems.
Upvotes: 1
Reputation: 21
I just got done debugging this issue for someone. My process was
Use a script to test the php mail() function https://www.conetix.com.au/support/article/simple-php-mail-test
Use a script to test the wp_mail function https://gist.github.com/butlerblog/5c9b805529c419b81447
Turn on wordpress debugging and sprinkle error_log in the contact form 7 code and see what's happening.
In my case, it was the weirdest thing. The contact form had a default value for the subject.
[your-subject]
For whatever reason, the php mail() function on my server would NOT send an email with that subject. Take out the dash, and it works fine. I'm betting that this is somehow related to how the mail() function is calling sendmail internally, but I haven't dug any deeper yet.
Upvotes: 1
Reputation: 21
I installed the WP SMTP plugin, and checked "Use the PHP mail() function to send emails." After that everything worked again.
Upvotes: 2
Reputation: 1
In addition to installing a plugin for SMTP (smtp-wp, WP Mail SMTP, etc.), make sure that, in configuration of Contact Form 7, the text area "Message Body" contains at least the code "[your-message] "(without quotes).
Upvotes: 0
Reputation: 143
PHP's mail() function may be disabled on your server. Try installing the WP SMTP plugin and using it instead.
http://wordpress.org/plugins/wp-smtp/
Upvotes: 0