<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > SMTP > SMTP_VerifyFormat |
Description
Function is used to test an individual email address for proper formatting.
Syntax
n = SMTP_VerifyFormat(eMailAddress)
Returns
Number.
If this function returns 0 or above, then the email address is properly formatted. But, if this function returns a negative value, the email address is either badly formatted, or it uses characters (such as '%') that are not normally used as part of an email address.
Parameters
Name |
Type |
Optional |
Meaning |
eMailAddress |
String |
No |
A string expression containing an email address to be verified |
Remarks
That left and right brackets ("<" and ">") must surround the email address like "<test@smtpserver.com>"
Restrictions
See also
Examples