Archived Forum Post

Index of archived forum posts

Question:

Validate email addresses?

Oct 29 '12 at 09:31

I am using addMultipleTo to add multiple email addresses to a mail. But if I add a bad address like "pepepepe" the return is true. How i can validate that multiple address are a valid comma separated list of full email address.


Answer

Chilkat cannot assume that a word such as "pepepepepe" is a bad email address because it could be the name of a distribution list setup w/ the SMTP user account. In other words, it could be a pre-defined name such that the SMTP server recognizes it and translates it to a list of actual email addresses.