|
Utiware's SMTP Email Servers require authentication before emails can be sent. Please use the following PHP emailing script to see how to include SMTP authentication in your PHP code. Please replace "username@yourdomain.com" with your valid email address that is hosted on our server, and use its corresponding password for authentication. Our Email Servers will not send emails on behalf of random people,so this is why the Sender of the email must match EXACTLY the email address that is used for SMTP Authentication.
require_once "Mail.php"; $from = "Sandra Sender <username@yourdomain.com>"; $host = "74.126.82.37"; $headers = array ('From' => $from, $mail = $smtp->send($to, $headers, $body); if (PEAR::isError($mail)) { " Message successfully sent!
|