phpMailer Called Mail() Without Being Connected

Status
Not open for further replies.

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.

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;
 

Al Lua

Member
Messages
46
Reaction score
0
Points
6
These issues from integrating from localhost to current copy is too severe; many bugs are met, we are doing manual registrations now.

I have given an envelope to bypass this issue, I will be awaiting response.
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi,

We do not support remote SMTP connections on our free hosting service. You would need to use the mail server on xo2 to send emails. ;)

Thank you,
 

Al Lua

Member
Messages
46
Reaction score
0
Points
6
If we upgrade to premium hosting (in which we are planning to do), will this issue be resolved?

Thank you!
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
We generally require all mail to go out using our outbound SMTP server. However it is evaluated on a case-by-case basis. Is there a reason you need this remote SMTP service?
 

Al Lua

Member
Messages
46
Reaction score
0
Points
6
I will describe our registration process to make this clear:
  1. Applicants agree to our regulations before joining the virtual airline.
  2. Applicants are required to enter an email address that phpMailer sends a user specific link to prove they are not spammers.
  3. The uniquely generated link gives access to the registration page (I recoded it a bit for now to not check if the code since emails don't send out).
  4. Administration members ensure pilots meet all requirements.
  5. They become a pilot of the virtual airline.
The website in question is http://airtranvirtual.net/en/. There may be many functions broken, I have reworked temporary solutions for now due to the migration from local hosting to x10hosting.
 

Al Lua

Member
Messages
46
Reaction score
0
Points
6
It is imperative we have this fixed by tonight.

By any chance can this issue be quickly resolved, or do we have to go up to premium? Both options are great with us, but we need this resolved as soon as possible.
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
Hi,

I cannot guarantee that we will open access to the remote SMTP service for you on premium hosting. We do not, in general, open up access for users because there is then no restriction on email, and it can be used for spam. While we don't believe you will use it for spam, we cannot really afford to take the chance.

Is it possible to send the email using our SMTP server (ie, use localhost as the host). The email will still be sent, though you may need to add the server into your SPF record. The best way to get it working is to not use remote SMTP.
 

Al Lua

Member
Messages
46
Reaction score
0
Points
6
No, we cannot send mail with localhost. Our mail is completely managed by Zoho; any chance we can just have a single mail account be migrated to use your SMTP server? I dont' think so, and we cannot move over all emails because our staff uses Zoho.

Unless something can be worked out, looks like I have another sleepless night and loss of pilot's interests.
 

Al Lua

Member
Messages
46
Reaction score
0
Points
6
I have fixed our reCaptcha for now, we can hopefully live with it. If this cannot absolutely be done, I will see if we can do manual email sending and recode a ---- lot of code. :)

Just something I want to point out, I want to extend our gratitude in your free hosting; bless this excellent service!
 

Al Lua

Member
Messages
46
Reaction score
0
Points
6
I'm going to assume that this will be impossible! It will completely ruin some functions of phpVMS and how the virtual airline works, but if it is what it is, I'll figure a way out.
 
Status
Not open for further replies.
Top