A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Forward Email to include Senders email address in the body



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 20th 10, 02:21 PM posted to microsoft.public.outlook.program_vba
LDMueller
external usenet poster
 
Posts: 53
Default Forward Email to include Senders email address in the body

With the help of what I've found at this wonderful site I created the
following code which works well.

The only part I'm missing which I can't seem to figure out is how I can
include the email address of the original sender the message.

I want the ending result to be like this...

Please whitelist the following
"Email Address of original sender"

Original email

Here's my code. I'm just missing the "Email Address of original Sender" part.

Sub Whitelist()
On Error Resume Next
Set ThisItem = Application.ActiveInspector.CurrentItem
Set FwdItem = ThisItem.Forward
FwdItem.To = "
FwdItem.HTMLBody = "Please whitelist the following" & vbCrLf &
FwdItem.HTMLBody
FwdItem.Send
End Sub

Thanks!
LDMueller
Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rule to respond to email address in body of email margarita Outlook - General Queries 1 October 9th 08 06:32 PM
Display Name as - can the default NOT include email address? mkrieger Outlook - Using Contacts 4 September 25th 07 01:54 AM
I need to include a Publisher doc in the body of email Outlook 200 reskate Outlook - Installation 0 July 28th 07 03:28 PM
Outlook, email address field, email forward does not work [email protected] Outlook - General Queries 0 December 9th 06 09:05 PM
How do I NOT include my email address in reply all? Jennuschka23 Outlook - General Queries 1 April 24th 06 07:25 PM


All times are GMT +1. The time now is 08:23 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.