• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Email error

J

jebs49

Guest
Dear Forum,

Thank you for letting me ask my questions here. I am new to sitebuilder and I am testing a new installation. I cannot get my trial site email message to work When I fill in the blank next to this text:
Send the site information to your e-mail address
on the Wizard/Publish/Trial page, It does nothing, It goes nowhere.

Can anyone tell me how to fix this or where there is more information in the manual?

Jebs
 
By design Sitebuilder sends notifications through a PHP script. Using the script below you may verify that emails can be sent out.

<?PHP
print "Content-Type: text/plain;\n";
print "\n";
$recipient = '[email protected]';
$subject = 'PHP mail test';
$body = "This is a test message.";
$headers = '';
if (mail($recipient, $subject, $body, $headers)) {
?> SUCCESS! <?PHP
}
else {
?> FAILED! <?PHP
}
?>
}
}

Where [email protected] is valid email address.
Also please look into maillog for transaction details of the mail sent.
 
Back
Top