How to get mail id only from a Body field - Failure Email

Hi Folks,

I need to get only Mail Id from the Body field in a failured email in a mail database using script. So how to get email id… Please advice…

Ex: Failure Email contains (4 lines) below content in the body field:

By the end of the day, the address:

  rajan.pilley@aoc.com

will no longer receive email sent from:

  Audrey H

In above I want to capture rajan.pilley@aoc.com

Rgds

Raj

Subject: How to get mail id only from a Body field - Failure Email

Hmmm…Are you talking about JUST external emails or notes name format ?

If just external u can parse the Body field for either side of the @ sign using things like @right and @Left(Body;“@”) and combinations like that …

Play with it in a view to see what string u will need to pull it out…