alblua Posted March 22, 2015 Report Share Posted March 22, 2015 Hello all once again, I'm quite stumped on this issue, so, I go for everyone's help. Emails, once again, will not send. I am 100% sure this is a coding issue. I have a different script on the website that sends an email for validating the account running off phpMailer, sends instantly. Hosting Email Server Presumably, that leaves coding left. Since I would rather not mess around with the code anymore, is there anyway possible to remove the function and write this one in: // $email will represent the receiver's email address // Password is hidden // $title (if possible) should be the title of the email // $message (if possible) should be the template set // Use SMTP $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 = $title; $mail->Body = $message; $mail->WordWrap = 50; if(!$mail->Send()) { // Whatever works best } Quote Link to comment Share on other sites More sharing options...
alblua Posted March 29, 2015 Author Report Share Posted March 29, 2015 It's getting buried, going to bump. Quote Link to comment Share on other sites More sharing options...
t_bergman Posted March 29, 2015 Report Share Posted March 29, 2015 What is your hosting environment? Quote Link to comment Share on other sites More sharing options...
alblua Posted March 30, 2015 Author Report Share Posted March 30, 2015 It is x10 Premium hosting. We do have Remote SMTP enabled, exactly why we upgraded. The interface is CPanel VPS Optimized 3. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted March 30, 2015 Moderators Report Share Posted March 30, 2015 Have you tried using a google account for sending? Quote Link to comment Share on other sites More sharing options...
alblua Posted March 30, 2015 Author Report Share Posted March 30, 2015 Our SMTP isn't managed by Google, and I'm not about to go messing around by screwing up my script in the website for validation (which works perfectly find) and the Zoho SMTP before it starts blurting at me with errors. Do you think I can take a second try at pulling it all out and inserting my own? What powers the emails anyway in phpVMS? Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted March 31, 2015 Moderators Report Share Posted March 31, 2015 Its php mailer standard in php, We farmed out the mail function to google rather than hosting smtp from the server as its prone to errors and vulnerable to constant attacks. Just make sure your not black listed as that will get your mail rejected also. You can check on http://mxtoolbox.com/blacklists.aspx This could be causing your problem, 550-Please turn on SMTP Authentication in your mail client. Quote Link to comment Share on other sites More sharing options...
alblua Posted March 31, 2015 Author Report Share Posted March 31, 2015 http://mxtoolbox.com/domain/zoho.com/?source=findmonitors Seems all right. I don't manage my SMTP server, so is there anyway to be able to remove the Google restriction? I'm not sure if it's possible to have one single email go Google whilst the others are powered by Zoho. Maybe by stating it's Zoho Mail may fix a lot. Quote Link to comment Share on other sites More sharing options...
alblua Posted April 5, 2015 Author Report Share Posted April 5, 2015 There isn't a workaround then? Quote Link to comment Share on other sites More sharing options...
alblua Posted May 29, 2015 Author Report Share Posted May 29, 2015 Bump again. Quote Link to comment Share on other sites More sharing options...
ahughes3 Posted June 1, 2015 Report Share Posted June 1, 2015 Mine keeps doing the same thing but it's intermittent. I thought I had found an answer but then the problem happened again. I have since set up a separate airline email, then I exported the pilot table from PHPMyAdmin, I converted it to a vcard and uploaded it to "Mailbird" which is my email client, now I just use that. Not ideal but at least it's more reliable. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.