Kieran
January 31, 2010, 9:44pm
1
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
nabeel
February 1, 2010, 12:45am
2
What’s the error? Might be that hotmail thinks it’s an improper relay or something
Kieran
February 1, 2010, 3:21pm
3
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
nabeel
February 1, 2010, 3:22pm
4
Is there something up with your SMTP server? I will try sending to a live.com address
Kieran
February 1, 2010, 6:56pm
5
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.
nabeel
February 1, 2010, 7:59pm
6
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?
Kieran
February 2, 2010, 12:22am
7
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.
Kieran
February 5, 2010, 8:33pm
8
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).
nabeel
February 5, 2010, 9:27pm
9
Breaks the registration? Emails are sent after the registration is complete
Kieran
February 7, 2010, 2:58pm
10
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!
nabeel
February 7, 2010, 3:57pm
11
Means there’s a PHP error somewhere - in local.config.php set error_reporting to E_ALL
Kieran
February 7, 2010, 4:35pm
12
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.
Kieran
February 14, 2010, 1:27pm
13
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.
nabeel
February 14, 2010, 10:37pm
14
Hmm, perhaps there’s a missing setting?
Kieran
February 15, 2010, 12:15am
15
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.