Apr 9th, 2010, 10:23 PM
Hi lpowers,
Thanks for the kind words! I really hope it comes in handy.
I came across this error just once before. If memory serves, the email was being rejected by the SMTP server because the "from" address wasn't the same as the actual website name. I think it was a spam-prevention measure to prevent people sending emails from a website that don't identify themselves as being FROM that website.
I'm not sure if this is what's happening in your case, but it's worth trying out. Just temporarily tweak the "from" field for your form to whatever website you're on (e.g. "test@yoursite.com").
By the way, any error messages you see within Swift Mailer are directly from the SMTP server itself. This can be really handy for Googling the solution. Personally, I hate configuring that module... sometimes it can be really finicky finding the right combination of settings to work with your server, but there's no way around it - so those error messages can be invaluable!
Good luck!
- Ben
Thanks for the kind words! I really hope it comes in handy.
I came across this error just once before. If memory serves, the email was being rejected by the SMTP server because the "from" address wasn't the same as the actual website name. I think it was a spam-prevention measure to prevent people sending emails from a website that don't identify themselves as being FROM that website.
I'm not sure if this is what's happening in your case, but it's worth trying out. Just temporarily tweak the "from" field for your form to whatever website you're on (e.g. "test@yoursite.com").
By the way, any error messages you see within Swift Mailer are directly from the SMTP server itself. This can be really handy for Googling the solution. Personally, I hate configuring that module... sometimes it can be really finicky finding the right combination of settings to work with your server, but there's no way around it - so those error messages can be invaluable!
Good luck!
- Ben