Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Rules for valid email addresses

From: bkalef:sympatico:ca at: 20-Oct-2001 0:40

Anyone know what characters and character combinations are invalid in email addresses? Has anyone build a function to check for email address validation?
>> type? my$[name--sympatico--ca]
== email!
>> type? my>[name--sympatico--ca]
== email! send my$[name--sympatico--ca] "testing" ** User Error: Server error: tcp 550 Invalid recipient: <my$[name--sympatico--ca]> ** Near: insert port reduce data
>> send my>[name--sympatico--ca] "testing"
** User Error: Server error: tcp 550 Invalid recipient: <my> ** Near: insert port reduce data I received a very large list of email addresses that needed to be sent a message - the list was never validated for address validity. When I loaded th file into a rebol word errors were reported indicating certain addresses were not valid. However, when I finally tried sending the emails out still more valid addresses existed that as noted above would have passed the 'load' of the data. Brock