sending mail for other domains
Posted 19 February 2010 - 12:03 AM
I am creating something that will be used by organizations to let people make reservations. There are invoice reminders and stuff and now I want to implement something like mass mailing to all people who made a reservation. I set the "from" address to their email, but I am not sure if that is a good thing to do.
Can I get away with this or should I use my own domain (which has everything set up correctly (MX, SPF) as the "from" and their address as the "reply-to"? Or is their another way?
Just want to be sure all messages get delivered but people will not start replying to me...
Thanks for any help,
Posted 19 February 2010 - 01:55 AM
Posted 19 February 2010 - 05:22 AM
Edit: The only problem i could think of is that your SMTP server does some rewriting. Like only allowing local mail domains in the From header.
This post has been edited by Mike: 19 February 2010 - 05:24 AM
Posted 19 February 2010 - 05:31 AM
I think what you say is true Mike, because I opened one of the emails sent by an organization in raw source and saw:
Received: from server.mydomain.com
Looks good to me also...
Posted 19 February 2010 - 06:20 AM
Makes me think about another issue I have. In my site users need to verify their email address. Someone created an account with email@example.com (so a missing 't' in the hotmail), so this verification mail never arrived, resulting in a lot of confusing communication.
I know you can set an option in CEmailValidator to check the MX records, but I read somewhere that it is not necessary for mailservers to have this set. Is this true? If so, is there another way of checking whether the email address entered is pointing to a real mailserver?
Posted 19 February 2010 - 06:31 AM
Short answer: No. That's why sending validation emails is still the method of choice to make sure, an email is correct. You can of course check, wether there's a mailserver for a domain. But that doesn't tell you much.