Article ID: 111498, created on Jun 17, 2011, last review on Nov 30, 2014

  • Applies to:
  • Operations Automation 5.4
  • Operations Automation 5.3
  • Web Presence Builder 10.4
  • Plesk 11.x for Linux
  • Plesk 10.x for Linux
  • Plesk Sitebuilder 4.5 for Linux/Unix


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, owner@domain.tld, 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, customer@domain.tld, 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 (owner@domain.tld) and the customer's email address customer@domain.tld is shown in the "From" field of the message. Another notification is sent to the customer's email address (customer@domain.tld) and the email address of the eShop owner (owner@domain.tld) 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.

Problem description

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?


To change the from field, it is suggested that you add the -r sender@domain.tld 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 sender@domain.tld

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 sender@domain.tld"

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

f7f840260c1591440648a375a64b5b75 fad6dc0c8e983c17ae70a51ac7952cd0 d055be4fdc562a8ecb8e6d0bf419f946 ea6a61e571a858aa6019ceb068ea403a 56797cefb1efc9130f7c48a7d1db0f0c 9305481d3bd31663b68451e3bfdec5a5 dd0611b6086474193d9bf78e2b293040 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 ac82ce33439a9c1feec4ff4f2f638899 caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e a8cdca46e4357a6e38fded820770e272 0a53c5a9ca65a74d37ef5c5eaeb55d7f e25c735791afe5339193a6713dc869da fcc77842a9b72e057b171fd1879f0616 614fd0b754f34d5efe9627f2057b8642

Email subscription for changes to this article
Save as PDF