<html> <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); require_once "Mail.php"; $from = "Sender <postmaster@domain.com>"; $to = "Recipient <postmaster@domain.com>"; $subject = "Mail.php test email"; $body = "Test email sent using Mail.php."; $host = "m##.internetmailserver.net"; $username = "postmaster@domain.com"; $password = "password"; $headers = array ('From' => $from, 'To' => $to, 'Subject' => $subject); $smtp = Mail::factory('smtp', array ('host' => $host, 'auth' => true, 'username' => $username, 'password' => $password)); $mail = $smtp->send($to, $headers, $body); echo "Mail.php test" ?> </html>
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add support@winhost.com to your trusted senders list in your email software.