Magento perfect settings for sending emails

Source: Internet
Author: User
Tags website server

At the beginning of the launch of magento, a problem occurred in the email. At this time, the commonly used mail templates have been edited, such as new account, new order, and password forget. Sending emails in centos is simple. You only need to install Sendmail and install sendmail. You only need to install Yum install sendmail. magento is also easy to send emails, you only need to set the sender name and email address in the admin background. So where is the problem? The following figure shows a few unclear statements:

 

1. In the inbox list, the sender is WWW 
2. In the mail TITLE section Sent by ([email protected).

After receiving the email, the customer will think that the website is too unprofessional and informal! Someone may ask, where did the above [www] and [magentoeye.magentoeye.com] come from? Wow! [Magentoeye.magentoeye.com] is the name of the website server host. Run the hostname command on the server to view the following results:

1 # Hostname
2 Magentoeye.magentoeye.com

[Magento[] in the previous section is the real host name, and [magentoeye.com] in the later section is the domain name ). The answer to another is: [www] is the user name for executing the PHP script process. When Sendmail sends an email, if no additional parameter is specified, it uses the current host name as the email server by default, and the Linux User name used to send the email as the sender, adding it to the mail header information.

Well, how can we solve these two problems so that magento emails look more professional? Although it is not easy to find answers, it is easy to operate. In admin-> system-> Configuration-> advanced-> system-> mail sending settings, set [The value of set return-path] is [Yes]. As shown in:

After saving the settings, let magento send an email again. After receiving the email, the effect is as follows:

 

It looks much better and still has some flaws. For example, in the mailbox list, the sender you want to see is [magentoeye.com] rather than [support]. Set the sender name as follows:

The final result is as follows:

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.