phpMailer Called Mail() Without Being Connected

Discussion in 'Free Hosting' started by Al Lua, Mar 1, 2015.

  1. Al Lua

    Al Lua Member

    Messages:
    46
    Likes Received:
    0
    Trophy 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;
     
  2. Al Lua

    Al Lua Member

    Messages:
    46
    Likes Received:
    0
    Trophy 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.
     
  3. Dead-i

    Dead-i x10Hosting Support Ninja Community Support

    Messages:
    6,084
    Likes Received:
    366
    Trophy 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,
     
  4. Al Lua

    Al Lua Member

    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    If we upgrade to premium hosting (in which we are planning to do), will this issue be resolved?

    Thank you!
     
  5. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    163
    Trophy 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?
     
  6. Al Lua

    Al Lua Member

    Messages:
    46
    Likes Received:
    0
    Trophy 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.
     
  7. Al Lua

    Al Lua Member

    Messages:
    46
    Likes Received:
    0
    Trophy 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.
     
  8. leafypiggy

    leafypiggy Manager of Pens and Office Supplies Staff Member

    Messages:
    3,819
    Likes Received:
    163
    Trophy 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.
     
  9. Al Lua

    Al Lua Member

    Messages:
    46
    Likes Received:
    0
    Trophy 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.
     
  10. Al Lua

    Al Lua Member

    Messages:
    46
    Likes Received:
    0
    Trophy 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!
     
  11. Al Lua

    Al Lua Member

    Messages:
    46
    Likes Received:
    0
    Trophy 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.
     

Share This Page