jnjustice
jnjustice

Reputation: 83

FROM Name MailItem Property

I am trying to record tasks via sending an email in Outlook and I need to have the sender name in the body so the others know the task is assigned to them.

Using MailObj.SenderName does not use the FROM name it would look for the name of the recipient if I was replying.

Upvotes: 0

Views: 328

Answers (1)

Dmitry Streblechenko
Dmitry Streblechenko

Reputation: 66225

If you want the current user information, use Application.Session.CurrentUser.

Upvotes: 1

Related Questions