- Plesk for Linux
- Plesk for Windows
Emails which are sent using a PHP script using mail() function are always sent from the domain's system user: email@example.com instead of custom sender's email.
The mail header which is passed to mail() function has invalid value or is not set.
Modify PHP-Script and change/edit headers in order to change the sender e-mail address for mails. Use an example from the following article: