How to set from value that is taken from envelope-from
Hello!
We have account with Web page on Drupal (or any other) which can't send mail with authentication. Mail server for domain is located on remote server which is not on our control. We can use mail command and specify from address and the email received has specified "from" header. When we're using Drupal (and any other) which does not allow configure authentication, the "from" header is discarded. So the solution can be set / rewrite "envelope-from" value to "from" on header.
How to accomplish this or there are some better solutions?
Thanks!
-
Hello, Are you able to configure the script to use SMTP authentication for sending email? This should ensure the correct information is listed in the message header. Thank you. 0 -
Hello! There are cases where it is not possible. Are there any way to accomplish this? 0 -
You may find some of the user-submitted solutions on the following StackOverflow thread helpful: How to change envelope from address using PHP mail? Thank you. 0
Please sign in to leave a comment.
Comments
3 comments