Phpmailer, email how to set the sender display name, send the message using the Exchange SMTP server

Source: Internet
Author: User
Keywords PHP Phpmailer
Tags mail account
Phpphpmailer

Recently encountered a project need to send mail. The message was successfully sent using Phpmailer, but a problem was encountered while setting the display name (diplay name). You are using a exchange2010 SMTP server to send mail. When I switch to 163 Sina and other messages for sending, the display name of the settings will be normal feedback, but not for exchange. Want to ask, what is the reason for this?

1 is sent by mail using another account. Set the alias to Thomas Test

2 is the message that is sent when you use an Exchange mail account. However, I cannot display the name I set, only the default aliases in the Exchange Management email address are displayed helpdesk

  • 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.