Notifications of "Contact Form" in Web Presence Builder 10, 11
In settings of the "Contact Form" module in Web Presence Builder versions 10 and 11, you may configure Recipients, Subject, and Button text.
The email address from the Recipients field is the recipient of notifications sent from the Contact Form on the published site. In the "Contact Form" chapter of the Parallels Plesk Panel 11.0 Administrator's Guide, you may find more details about the module.
eShop order notifications in Parallels Plesk Sitebuilder 4.5
When you configure the eShop module for your site through the Sitebuilder Wizard, you put your email address, email@example.com, into the field Email of the Notifications on the configuration page. This is the email address of the eShop owner. According to the "Setting Up Customer Order Notification" chapter of the Plesk Sitebuilder 4.5 for Linux/Unix Wizard User's Guide, this address will be shown in the "From" field of the received notification. If a customer orders a product in the eShop, he puts his own email address, firstname.lastname@example.org, into the field E-mail of the Buyer in the information section.
When the order is created, two notifications are sent from the published site. The first notification is sent to the email address of the eShop owner (email@example.com) and the customer's email address firstname.lastname@example.org is shown in the "From" field of the message. Another notification is sent to the customer's email address (email@example.com) and the email address of the eShop owner (firstname.lastname@example.org) is shown in the "From" field of the received message. This order notification structure is hardcoded into the eShop module. The "From" field cannot be changed; it is always the email address of the eShop owner or the customer's address.
In Web Presence Builder versions 10 and 11 and in Parallels Plesk Sitebuilder version 4.5, notifications are sent with the PHP function mail(). In the maillog, it can be observed that these notifications are sent "from=<apache@sitebuilder_host>", where apache is the Apache user, and sitebuilder_host is the server hostname. Sometimes such notifications might be considered spam by filters on the recipient server.
Is it possible to change the "from" address?
ResolutionTo change the from field, it is suggested that you add the -r email@example.com field into the sendmail_path option of your PHP configuration:
1. To change the from field for all emails sent from the server:
sendmail_path = /usr/sbin/sendmail -t -i -r firstname.lastname@example.org
2. To change the from field for emails sent from a specified domain in Parallels Plesk Panel (in case the site of Parallels Plesk Sitebuilder/Web Presence Builder is published into the Plesk domain):
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -r email@example.com"
After you create /var/www/vhosts/DOMAIN.TLD/conf/vhost.conf on the Plesk server, remember to recreate Apache configuration files with the websrvmng utility for Parallels Plesk Panel 8.x and 9.x or httpdmng for Parallels Plesk Panel 10.0 and above:
Parallels Plesk Panel 8.x, 9.x:
~# /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=DOMAIN.TLD
Parallels Plesk Panel 10.0 and above:
~# /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain DOMAIN.TLD