Al Lua
Member
- Messages
- 46
- Reaction score
- 0
- Points
- 6
Hello x10hosting,
I am the technology director at AirTran Virtual, and unfortunately we have met upon a severe issue with the hosting service.
I have employed an email validation service to prevent spammers from accessing and receiving an account from us for the virtual airline. However, phpMailer will not send emails. On my localhost copy, this function was working fine.
This is an urgent issue, and I would be very happy to solve this issue today.
http://gyazo.com/b34763dec9e5b6adae2428d52871cb58 is a screenshot. Error is under the photo banner.
I am the technology director at AirTran Virtual, and unfortunately we have met upon a severe issue with the hosting service.
I have employed an email validation service to prevent spammers from accessing and receiving an account from us for the virtual airline. However, phpMailer will not send emails. On my localhost copy, this function was working fine.
This is an urgent issue, and I would be very happy to solve this issue today.
http://gyazo.com/b34763dec9e5b6adae2428d52871cb58 is a screenshot. Error is under the photo banner.
PHP:
$mail->IsSMTP();
$mail->Host = 'smtp.zoho.com';
$mail->SMTPAuth = true;
$mail->Username = 'contact@airtranvirtual.net';
$mail->Password = '--------';
$mail->SMTPSecure = 'ssl';
$mail->Port = 465;
$mail->From = 'contact@airtranvirtual.net';
$mail->FromName = 'AirTran Virtual';
$mail->AddAddress($email);
$mail->IsHTML(true);
$mail->Subject = "Application Step 1";
$mail->Body = "<img src='" . SITE_URL . "/lib/skins/trs/images/logo.png' height='100' /><p>Dear applicant,</p><p>In order to continue the registration process, please click on or copy and paste the following link into your web browser. This link does not expire, however, we recommend registering within 24 hours.</p><p><a href='" . $url . "'>" . $url . "</a></p><p>Sincerely,</p><p>AirTran Virtual</p><h6>This email uses HTML.</h6>";
$mail->WordWrap = 50;