Not possible to send email via contact form using Web Presence Builder: Your message could not be sent due to an internal error

Created:

2016-11-16 12:46:51 UTC

Modified:

2017-04-24 12:11:58 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Not possible to send email via contact form using Web Presence Builder: Your message could not be sent due to an internal error

Applicable to:

  • Plesk 11.0 for Linux
  • Plesk 12.0 for Linux

Symptoms

Not possible to send email via contact form using Web Presence Builder. The following error appears in browser

Your message could not be sent due to an internal error. Please contact the website administrator by other means to notify about this issue

But in fact an email is sent and received successfully.

In strace log, the following error appears:

    PHP Fatal error:  Uncaught exception 'Zend_Mail_Transport_Exception' with message 'Unable to send mail. mail(/var/tmp/php.mail.log): failed to open stream: Permission denied' in /var/www/vhosts/domain.tld/httpdocs/includes/Zend/Mail/Transport/Sendmail.php:

Cause

Incorrect permissions on /var/tmp/php.mail.log file.

Resolution

Set required permissions on /var/tmp/php.mail.log file:

# chmod 664 /var/tmp/php.mail.log
# ls -la /var/tmp/php.mail.log
-rw-rw-r-- 1 root root 104306 Sep 5 22:47 /var/tmp/php.mail.log
Have more questions? Submit a request
Please sign in to leave a comment.