contact form 7 mail not sending

百般思念 提交于 2019-12-20 03:00:47

问题


I have used contact form 7 for one of my wordpress sites. I have also integrated wp-mail-smtp for sending mail. In local site is running properly but When I configure it on server it gives error. Problem is though I get success message but it does not send mail to specified email id. and when I try to send the test message from smtp, it gives below error

The SMTP debugging output is shown below:

SMTP -> ERROR: Failed to connect to server: Connection timed out (110)

SMTP Error: Could not connect to SMTP host.

Can any one specify the problem?


回答1:


The SMTP needs to be authenticated. Download and install the WP Mail SMTP plugin. Once the local server information is added in Settings >> Email, the emails should get sent out to any outside email addresses.

Link to plugin: http://wordpress.org/extend/plugins/wp-mail-smtp/

Please try with "host as localhost"

Just try hope will helps




回答2:


I needed to wipe this from the "from" field to get my emails to get through:

[your-name] <[your-email]>

Just left it blank and it worked.




回答3:


In addition to installing a plugin for SMTP (smtp-wp, WP Mail SMTP, etc.) Make sure that configuration in the Contact Form 7 configuration, the text area "Message Body" contains at least the code [your-message].



来源:https://stackoverflow.com/questions/16276560/contact-form-7-mail-not-sending

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!