Kieran Posted January 31, 2010 Report Share Posted January 31, 2010 Hey everyone, For some reason, I can't send mail through SMTP to hotmail accounts without it returning an error. I'm not sure if it applies to any other hosting providers but I know that it worked with my own domain account. I'm on beta 870. Thanks, Kieran Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 1, 2010 Administrators Report Share Posted February 1, 2010 What's the error? Might be that hotmail thinks it's an improper relay or something Quote Link to comment Share on other sites More sharing options...
Kieran Posted February 1, 2010 Author Report Share Posted February 1, 2010 Invalid address: You must provide at least one recipient email address. Confirmation Sent Thanks for registering for us, you will be notified via email of your registration status. SMTP Error: The following recipients failed: -----@live.com Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 1, 2010 Administrators Report Share Posted February 1, 2010 Is there something up with your SMTP server? I will try sending to a live.com address Quote Link to comment Share on other sites More sharing options...
Kieran Posted February 1, 2010 Author Report Share Posted February 1, 2010 I sent a mail successfully to an email address on the same mail server indicating that the settings are correct. Whether it's just hotmail I'm not sure. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 1, 2010 Administrators Report Share Posted February 1, 2010 Who's your SMTP provider? Try setting up outlook express to use that SMTP and try sending a mail through there manually and see if it works? It could also be rejecting it because it thinks it's spam. Maybe that's something to research? Quote Link to comment Share on other sites More sharing options...
Kieran Posted February 2, 2010 Author Report Share Posted February 2, 2010 I currently use SMTP as provided by my (now paid) web host. I'll see if google performs and better. I can log on using Office Outlook 2010. Quote Link to comment Share on other sites More sharing options...
Kieran Posted February 5, 2010 Author Report Share Posted February 5, 2010 Now for some reason the emails successfully send with google, but this breaks the registration (weird! looks like I've identified the cause of my other error). Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 5, 2010 Administrators Report Share Posted February 5, 2010 Breaks the registration? Emails are sent after the registration is complete Quote Link to comment Share on other sites More sharing options...
Kieran Posted February 7, 2010 Author Report Share Posted February 7, 2010 I know, this just adds to the bizzareness of the situation. For the moment though, my whole site is just white for no apparent reason! Index.php is definitely intact and I can't see valid reason for this behaviour. I'm on revision 870. Thanks! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 7, 2010 Administrators Report Share Posted February 7, 2010 Means there's a PHP error somewhere - in local.config.php set error_reporting to E_ALL Quote Link to comment Share on other sites More sharing options...
Kieran Posted February 7, 2010 Author Report Share Posted February 7, 2010 Well, that was easy Turned out I had: Config::Set('EMAIL_SMTP_USE_AUTH', ); Should have been: Config::Set('EMAIL_SMTP_USE_AUTH', false); I'll check out the API and spend a week or two writing a very thorough registration script which I will release if I complete it. Thanks, kieran. Quote Link to comment Share on other sites More sharing options...
Kieran Posted February 14, 2010 Author Report Share Posted February 14, 2010 Right, this whole SMTP thing is really confusing (mail in php has never been on my side :{ ) With the SMTP enabled, I get notifications telling me when a new user registers, new pirep filed etc. The SMTP Mail Sender (no-reply) and the notification recipient are on the same mail server. However, registration always fails to deliver the email to the user: The following recipients failed: (email address) And also the same happens when approving a PIREP. I'm pretty sure it's not blocked by my host as it works with other scripts, just not phpVMS. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 14, 2010 Administrators Report Share Posted February 14, 2010 Hmm, perhaps there's a missing setting? Quote Link to comment Share on other sites More sharing options...
Kieran Posted February 15, 2010 Author Report Share Posted February 15, 2010 Ive tried it using Google Mail and SSL on my own server. I get: The following From address failed: no-reply@liverpoolvirtual.info The following From address failed: no-reply@liverpoolvirtual.info. The config file is filled out correctly. 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.