The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to set from value that is taken from envelope-from

Discussion in 'E-mail Discussions' started by Rakaris Bakaris, Aug 22, 2016.

  1. Rakaris Bakaris

    Joined:
    Jan 8, 2015
    Messages:
    22
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    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!
     
    #1 Rakaris Bakaris, Aug 22, 2016
    Last edited: Aug 22, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. Rakaris Bakaris

    Joined:
    Jan 8, 2015
    Messages:
    22
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hello!
    There are cases where it is not possible. Are there any way to accomplish this?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page