WP Mail and PHP mail() function according to RFC 822

  1. flaviowd

    In many hosts in Brazil are disabled by default PHP mail function, or are forcing you to use authenticated SMTP to send emails, or requiring that you use the return-path and replay-to headers. It also requires that the field FROM use an email from your own domain. So, for example, if your domain is xyz.com you necessarily have to use an email like wp@xyz.com or no-replay@xyz.com.
    The email address used in the FROM field should be the same used in the header return-path.

    This is to comply with RFC 822 http://www.freesoft.org/CIE/RFC/822/index.htm and http://www.faqs.org/rfcs/rfc822.html

    So, I think that we need to creat a solution to solve this. maybe, we should implement SMTP by default on WordPress, ou use a 'virtual' email account on headers FROM and return-path, like no-replay@domain.com or wp@domain.com.

    Tks and sorry for my bad english ;)

    Posted: 7 years ago #
  2. swvdm


    i am having a similar problem, and adding a section where i can configure auth SMTP settings, i will not need to go thru pages of code trying to find it where i have to change it manually.

    Posted: 6 years ago #

RSS feed for this topic


You must log in to post.

  • Rating

    5 Votes
  • Status

    This idea is under consideration