• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Form Mail / PHP working very slow.... Help!

F

fercez

Guest
Hi,

I just want to run this php script, but it works very slow on plesk, any ideas?


<?
$date=date("d/m/Y", time() );
/* Addressee */
$recipient .= "USER<[email protected]>";
/* Mail Subject */
$subject = "Web site contact form";
/* Message */
$message .= "Contact form of your web site:\n\n";
$message .= " USER - http://www.domain.com\n";
$message .= " Date: " . $date . "\n\n";
$message .= "------------------------------------------------\n\n";
$message .= "Name: " . $Name . "\n";
$message .= "Mail: " . $Mail . "\n";
$message .= "Phone: " . $Phone . "\n\n";
$message .= "Subject: \n" . $Comments . "\n\n";
$message .= "------------------------------------------------\n\n";
$headers .= "From: $Name<$Mail>\n";
mail($recipient, $subject, $message, $headers);
header('Location: contact.php?SEND=1');
?>


Cheers
 
We are encountering the same thing on our install of Plesk psa v7.5.4_build75051014.16 os_FedoraCore 3.

At first it wouldn't work at all, I had to change the /etc/php.ini file setting to:

sendmail_path = /var/qmail/bin/qmail-inject -t -i

Now, it works, but takes about 1 hour to send mail. This is a fresh install of Plesk with very few domains, and it is a dual processor 3 GHz with 2 GB of RAM, so the server should be able to send mail a bit faster.
 
Back
Top