Quoting Luis Lebron <[EMAIL PROTECTED]>:
> 
> From: System Administrator - To: Luis Lebron Subject: Undeliverable:
> Test
> message -Date Thu, 12 Dec 2002 07:44:24 -0600 Body: Your message
> To:
> '[EMAIL PROTECTED]' Subject: Test message Sent: Thu, 12 Dec 2002
> 07:44:12
> -0600 did not reach the following recipient(s): '[EMAIL PROTECTED]'
> on Thu,
> 12 Dec 2002 07:44:24 -0600 The recipient name is not recognized The
> MTS-ID
> of the original message is: c=US;a=
> ;p=sigmainteractive;l=SIGMA2-021212134412Z-565
> MSEXCH:IMS:SIGMA:Huntsville:SIGMA2 3550 (000B09AA) 550
> [EMAIL PROTECTED]
> unknown user account Test 
> 
> How can I extract the recipient's name from this string?

Look for 5xx (with x = 0-9, SMTP error codes) and see if there is an
email address in the same line.

Jochem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to