The four formats listed above are for MX. They are all RFC compliant,
so there should be very very few SMTP servers that reject any one of
the formats.

As for requirements, it's for an email client I've built. It is so the
user can type a portion of the name, or email address (which comes
from a CRM module) and have it pop-up nicely formatted. The same way
Outlook (Lookout!) and GMail does...

Regards,

Jon


On Wed, 24 Nov 2004 22:56:29 -0700, Jim McAtee <[EMAIL PROTECTED]> wrote:
> CFMAIL in which version of CF?  My experience has been that CFMAIL in CF5
> accepts pretty much anything.  It's the SMTP relay that accepts only
> certain formats, and I've seen differences among SMTP servers.  I've also
> seen differences between the accepted formats for the FROM and TO
> addresses.  So a universal UDF to do this would be unlikely - it would
> have to be customized to each environment.
> 
> I've never had a need to validate the address in this manner, though.
> There's no good reason to permit people to enter addresses like this.
> It's much easer for both them and yourself if they enter their name and
> email address separately.  You validate the email address, the name (non
> blank?) and then you store them seperately and use CF to format the TO and
> FROM as you're sending messsages.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185378
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to