Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

HI all,

autoforwarding at exchange level is disabled by the server admin, so i have got some VBA code that forwards emails to an external email(my blackberry email). I have it working fine, but was wondering is there any way when recieving the email on my other account that instead of seeing all the emails from me, you can see the original sender in the from part?

here is my code

Sub AutoForwardAllSentItems(Item As Outlook.MailItem)
Dim strMsg As String
Dim myFwd As Outlook.MailItem

Set myFwd = Item.Forward

myFwd.Recipients.Add ""
myFwd.Subject = Mid(myFwd.Subject, 4)

Set myFwd = Nothing
End Sub
share|improve this question

Although I am not a user of Outlook, this old article suggests a way:
OL2000: How to Programmatically Set a Form's From Field.

Perhaps this could work :

myFwd.SentOnBehalfOfName = Item.SentOnBehalfOfName 

I also noticed in the article MailItem Object the property of SenderName, which may also be useful.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .