Viewing 3 replies - 1 through 3 (of 3 total)
  • I think when you’re using a localhost server there is no way to change today without setting up a mail server as well. Also, most ISPs won’t allow you to have a localhost mail server without having your account specifically provisioned for it.

    Dion

    (@diondesigns)

    Neither of those methods will change the all-important Reply-To header in an email. For that you’ll need a plugin (or custom code) that sets the “sendmail -f” parameter in PHPMailer. However, even if you set this parameter, you will still have issues with your emails unless your server’s mail transfer agent (Exim or Postfix) has designated www-data as a “trusted user”. You’ll need to edit the MTA’s main configuration file and then restart the service to make this change.

    You can avoid all the hassles of PHP mail by using SMTP to send your emails. There are SMTP plugins available for this purpose.

    Thread Starter owhited

    (@owhited)

    I decided to send email by purchasing a SMTP service.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘email sender name is www-data’ is closed to new replies.