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

Macro to create new email message with different account as sender



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old March 21st 07, 11:15 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Macro to create new email message with different account as sender

Use the MailItem.SentOnBehalfOfName property.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Brian Beck" wrote in message
...
I'm running Outlook 2003 with SP2 installed.

In my division, I have my own personal email account, but also am tasked
with managing 2 additional mailboxes. If I go into Tools--E-mail
Accounts and view my existing email accounts, I can see that there is one
entry for Microsoft Exchange Server. If I look at the settings for
Microsoft Exchange Server, click on the More Settings button and then look
at the Advanced Tab, I see that it is set to open the 2 additional
mailboxes that I am tasked with, Security and Calendar.

I can access those 2 mailboxes from within Outlook, in addition to my
personal mailbox, and if I reply to an email that was sent to either the
Security or Calendar mailboxes, it will show in the From field that it
came from the Security or Calendar email address respectively. However, I
know of no way for me to create a new email message and have it show the
From: field as anything but my own personal email address.

I now am tasked with sending reminder emails out to numerous individuals
who have failed to submit various kinds of documentation...however, these
emails need to come from the Security mailbox, not my own personal
mailbox. I know that I can simply open an email that is in the security
mailbox, choose to reply to it, and then simply replace the To: and
Subject: fields with whatever I want to create an email that will show the
Security email address in the From: field...but I'm wondering if there
isn't either some easier way to do that, or at least some macro I can
write that will allow me to get to a new email message with a blank To:
field, a custom Subject: field and, most importantly, the Security address
showing in the From: field.

Any ideas?


-Brian Beck



 




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
multiple sender email address for account fileman Outlook - General Queries 5 October 10th 07 05:55 PM
Outlook 2003 cannot create email account [email protected] Outlook - Installation 0 January 4th 07 04:56 PM
How do I create a macro to email a file Roger Outlook and VBA 1 October 24th 06 06:20 PM
How to create a rules that will take in account NDR message type Antoine Auger-Giroux Outlook - Installation 5 May 10th 06 04:58 PM
Junk mail: How to create a button for "Add sender to blocked sender list" Nananana Outlook - General Queries 2 February 2nd 06 12:37 PM


All times are GMT +1. The time now is 02: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.