If you only want the SMTP address (which appears in your example to always be tranferred using the X400 protocol) then something like the following may form a suitable basis for work:
$line = "SMTP:makeusbetter@domain.com%X400:c=US;a= ;p=domain ;o=domain +;s=makeusbetter;%CCMAIL:makeusbetter at domain%"; if ($line =~ m/SMTP\:(.*)\%X400/) { print "Email address is: $1\n"; }
Arun
In reply to Re: Parsing a csv file from Exchange
by arunhorne
in thread Parsing a csv file from Exchange
by cajun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |