![]() |
| 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, using, vba |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have 2 email accounts in outlook and depending on the content of
incoming emails I have an Access database which automatically sends a response. Depending on the email content will determine which email address I put in the from field. So far the nearest I have come to achieving this is to add a contact and then use the mailitem .SentOnBehalfOfName = "Contact" Is there a way to specify programatically the email address in the from field or programatically change the default email account. Thanks for any assistance. |
| Ads |
|
#2
|
|||
|
|||
|
Am 8 Jul 2006 13:28:03 -0700 schrieb :
Maybe this is something for you: http://www.outlookcode.com/codedetail.aspx?id=196 -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.VBOffice.net -- I have 2 email accounts in outlook and depending on the content of incoming emails I have an Access database which automatically sends a response. Depending on the email content will determine which email address I put in the from field. So far the nearest I have come to achieving this is to add a contact and then use the mailitem .SentOnBehalfOfName = "Contact" Is there a way to specify programatically the email address in the from field or programatically change the default email account. Thanks for any assistance. |
|
#3
|
|||
|
|||
|
Thanks for the info Michael
Michael Bauer wrote: Am 8 Jul 2006 13:28:03 -0700 schrieb : Maybe this is something for you: http://www.outlookcode.com/codedetail.aspx?id=196 -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.VBOffice.net -- I have 2 email accounts in outlook and depending on the content of incoming emails I have an Access database which automatically sends a response. Depending on the email content will determine which email address I put in the from field. So far the nearest I have come to achieving this is to add a contact and then use the mailitem .SentOnBehalfOfName = "Contact" Is there a way to specify programatically the email address in the from field or programatically change the default email account. Thanks for any assistance. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing email address in PAB | bteddlie | Outlook - Using Contacts | 1 | July 5th 06 06:41 PM |
| Changing the font body of an outlook task in vba | Gary F | Outlook and VBA | 2 | June 7th 06 08:20 PM |
| Changing the Reply-to address via VBA | ms | Outlook and VBA | 2 | May 8th 06 09:43 PM |
| Changing the FROM address when sending email programatically | mecg96 | Outlook and VBA | 1 | April 20th 06 09:42 PM |
| Changing of FROM address when sending emails using VBA | GeorgeMar | Outlook and VBA | 2 | February 27th 06 07:30 PM |