![]() |
| 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. |
|
|||||||
| Tags: address, changing, email, programatically, sending |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi!
I have a macro that sends out emails, but I want to use a generic mailbox address that I have. When I manually create an email I can enter the address in the FROM field, but I don't know how to do this in code. I guess there is something similar to the recipients class Thanks for your help! |
| Ads |
|
#2
|
|||
|
|||
|
Set the MailItem.SentOnBehalfOfName property (Exchange only).
Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "mecg96" wrote in message ... Hi! I have a macro that sends out emails, but I want to use a generic mailbox address that I have. When I manually create an email I can enter the address in the FROM field, but I don't know how to do this in code. I guess there is something similar to the recipients class Thanks for your help! |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing the order of the address lists in a multiple user environ | Suresh Patel | Outlook - Installation | 3 | April 5th 06 05:19 PM |
| outlook is sending email to other users in address book | Noor | Outlook - Using Contacts | 1 | April 4th 06 11:06 PM |
| Changing of FROM address when sending emails using VBA | GeorgeMar | Outlook and VBA | 2 | February 27th 06 08:30 PM |
| changing the "from" email address | brent | Outlook - Using Contacts | 1 | January 29th 06 10:56 PM |
| Set which local email account can send mail to contacts in address book. (associating an email address with a contact) | Scott Streit | Outlook - General Queries | 3 | January 27th 06 03:57 PM |