Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OL 2000 and sendername
Message
From
03/12/2001 10:33:27
 
 
To
All
General information
Forum:
Microsoft Office
Category:
Outlook
Title:
OL 2000 and sendername
Miscellaneous
Thread ID:
00588714
Message ID:
00588714
Views:
56
I want to retrieve the sendername in the NewMail sub however, the following simple code fails... Any ideas about what I am doing wrong.
Private Sub Application_NewMail()
    Dim msg As MailItem
    Debug.Print msg.SenderName
End Sub
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Reply
Map
View

Click here to load this message in the networking platform