• Hi

    I have public domain I purchased with Namescheap and I have an email with Google G Suite (now Google Workspace). I will refer to my public domain as example.com throughout this post. My Linux server has the FQDN of ubuntu-server.example.com and my email is [email protected] with an alias email; [email protected].

    My Apache and PHP processes are running under the Linux user and group www-data. When I go to change the Administration Email Address at Settings > General Settings > Administration Email Address or submit a form with ContactForm7 on the site front-end, I can see in my mail log at /var/log/mail.log the sender is always [email protected].

    My question is, is the From field on Mail tab of ContactForm7 supposed to override the sender email, in this case seems to the user the PHP process is running under on the operating system?

    Many thanks,

    Will

Viewing 1 replies (of 1 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    See Setting up mail for details about email configuration. The From field value is used in the fourth parameter of wp_mail().

    I don’t know what system you use for the local SMTP server, but I assume that the address appears in the mail log is the bounce address, which has nothing to do with the header From address.

Viewing 1 replies (of 1 total)
  • The topic ‘Is the ‘From’ field in ContactForm7 supposed to override PHP’s mail function?’ is closed to new replies.