1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Email error

Discussion in 'Sitebuilder 4.2 for Linux' started by jebs49, Jul 23, 2008.

  1. jebs49

    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:
    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?

  2. abezborodova

    abezborodova Guest

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

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

    Where mail@domain.com is valid email address.
    Also please look into maillog for transaction details of the mail sent.