Windows install clean up PHP Mail failed solution for sending mail through SMTP for Windows

Source: Internet
Author: User
Tags wordpress php
The reason must be in the WordPress PHP Mail send class. Easy Google to reason: the original Windows SMTP service does not support the name of the message format, must be written directly to address@domain.com. So the WordPress class-phpmailer.php in this line

Copy the Code code as follows:


$from [0][1] = $this->fromname;


Comment out on the OK.

The above describes a solution that Windows install clean up PHP Mail failed to send mail through SMTP for Windows, including the Windows install clean up content, which I hope is helpful to a friend who is interested in PHP tutorials.

  • Related Article

    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.