Further help displaying "From" Information in email

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Thank you for you previous help

I tried the code sample that you directed me to that is on your website

I still seem to be having a problem

When i run this procedure i still experience the same problem as i had when i was using the "reply.to" property

If i run the code you suggested is there is only an email address in the from field then it prints the email address next to the Name field in the message box and leaves the email address field blank

Similarily if i open an email which has the from field in the format Joe Bloggs [joe.bloggs.co.uk] then the Name field in the message box says Joe Bloggs and the email field is blank

Is it not possible so that the message box displays Name: Joe Bloggs and Email : joe.bloggs.co.u

Thanks
 
Please post some of a preceding thread in your messages. You are not doing
so now and that makes it very hard to follow a thread.

If the MAPI property Message.Sender (PR_SENDER_EMAIL_ADDRESS ) returns both
the friendly name and the SMTP email address then that's how the Internet
headers are formatted. You could see if using objMsg.Fields(&H0C1F001E) give
you different results but if not you will have to parse out the SMTP email
address from the friendly name yourself.




Gillian Donald said:
Thank you for you previous help.

I tried the code sample that you directed me to that is on your website.

I still seem to be having a problem.

When i run this procedure i still experience the same problem as i had
when i was using the "reply.to" property.
If i run the code you suggested is there is only an email address in the
from field then it prints the email address next to the Name field in the
message box and leaves the email address field blank.
Similarily if i open an email which has the from field in the format Joe
Bloggs [joe.bloggs.co.uk] then the Name field in the message box says Joe
Bloggs and the email field is blank.
 
Back
Top