![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
With the help of this awesome site, I've created the following code. The
only part which I can't figure out is how to insert the email address of the sender in the "Senders Email Address Here" area. Sub Whitelist() On Error Resume Next Set ThisItem = Application.ActiveInspector.CurrentItem Set fwdItem = ThisItem.Forward fwdItem.To = " fwdItem.subject = "Whitelist" fwdItem.HTMLBody = "pPlease whitelist the following:/pp/p" & vbCrLf & _ "Senders Email Address Here" & _ vbCrLf & fwdItem.HTMLBody fwdItem.Send End Sub Can anyone help me? Thanks so much in advance! LDMueller |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Forward Email to include Senders email address in the body | LDMueller | Outlook and VBA | 0 | May 20th 10 01:21 PM |
Forward email as insert from button | mikey014 | Outlook and VBA | 1 | March 16th 10 02:37 PM |
I have to find the sender's email address | win | Outlook and VBA | 1 | January 28th 10 03:32 PM |
VBA to insert Hyperlink in Email Body | K[_3_] | Outlook and VBA | 0 | April 23rd 09 03:55 PM |
insert as text (to insert html into email body) | Iona | Outlook - General Queries | 1 | July 13th 06 12:10 PM |