CFPOP and the FROM variable
I use CFPOP too read mails,
And I want to do different processing following the email adress found in the
FROM variable.
But, depending of the Mail agent sending mails,
The FROM variable contains different types of values :
1 - can be the Email (alone)
2 - can be the name of the person, without any email
3 - can be the name of the person followed by the email
4 - can be the name of the person followed by an email of the mail server.
As I need to find the Email of the sender, only in cases 1 and 3 can give me the right email.
Can someone explain this ?
I do not see anything in CF to solve this, even in programming or in the CF administrator.
I have the impression that , what is retruned in the "FROM" depends of the mail server ?
Thanks for any help, explanation on that subject,
Pierre.