Using PHP sendmail to send mail failed, to seek the rescue of the expert

Source: Internet
Author: User
Tags eol socket error
Want to test the PHP mail function, the use of Phpmailer can be successful;
But when using SendMail, but always prompted the message failed to send, the configuration has been referred to the following article:
http://blog.techwheels.net/send-email-from-localhost-wamp-server-using-sendmail/
But still prompt "Email sending failed".
This is the error message in Error.log:

14/05/13 15:32:48 : Socket Error # 10060
  
  
   
   Connection timed out.
  
  

Ask the person under the experience, thank you!

Reply content:

Want to test the PHP mail function, the use of Phpmailer can be successful;
But when using SendMail, but always prompted the message failed to send, the configuration has been referred to the following article:
http://blog.techwheels.net/send-email-from-localhost-wamp-server-using-sendmail/
But still prompt "Email sending failed".
This is the error message in Error.log:

14/05/13 15:32:48 : Socket Error # 10060
  
  
   
   Connection timed out.
  
  

Ask the person under the experience, thank you!

Does this need to be experienced? The connection timed out, of course there is a problem with your network.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.