PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Automatic Account selection in replies/forwards
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Automatic Account selection in replies/forwards
![]() |
Automatic Account selection in replies/forwards |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I am writing to ask if anyone can help me with the
following. When Outlook2003 clients select reply/reply all/forward to a mail item, I would like to automatically specify the account to use (Microsoft Exchange Server), which might be different than the one picked by Outlook for a particular mail item. This is needed due to the configuration we have. We use Exchange 2003 for internal mail and also for sending external mail with SMTP. However, we use an ISP for actually hosting external mail. The Outlook clients are configured to use POP3 for receiving external mail from the ISP. Unfortunately, Outlook 2003 will use the account (transport) that the mail item was received via as the account for replying/forwarding, even if the Microsoft Exchange Server is the primary (default) account. Thanks. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
If all the accounts are configured in that Outlook profile then you can
access the account as a sending account by getting the menu/toolbar you would use to select an alternate sending account in the UI as a command bar button object and calling its Execute method in the code the handles replies and forwards. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Michael Gordon" <gordonm-remove-@emfcontrols.com> wrote in message news:5a6901c42d4b$6d3ae570$a001280a@phx.gbl... > I am writing to ask if anyone can help me with the > following. > When Outlook2003 clients select reply/reply all/forward > to a mail item, I would like to automatically specify the > account to use (Microsoft Exchange Server), which might > be different than the one picked by Outlook for a > particular mail item. > > This is needed due to the configuration we have. > We use Exchange 2003 for internal mail and also for > sending external mail with SMTP. > However, we use an ISP for actually hosting external mail. > The Outlook clients are configured to use POP3 for > receiving external mail from the ISP. Unfortunately, > Outlook 2003 will use the account (transport) that the > mail item was received via as the account for > replying/forwarding, even if the Microsoft Exchange > Server is the primary (default) account. > > Thanks. |
|
|
|
#3 |
|
Guest
Posts: n/a
|
I'm new to this; would you mind providing some more
detail on this. Thanks. >-----Original Message----- >If all the accounts are configured in that Outlook profile then you can >access the account as a sending account by getting the menu/toolbar you >would use to select an alternate sending account in the UI as a command bar >button object and calling its Execute method in the code the handles replies >and forwards. > >-- >Ken Slovak >[MVP - Outlook] >http://www.slovaktech.com >Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 >Reminder Manager, Extended Reminders, Attachment Options >http://www.slovaktech.com/products.htm > > >"Michael Gordon" <gordonm-remove-@emfcontrols.com> wrote in message >news:5a6901c42d4b$6d3ae570$a001280a@phx.gbl... >> I am writing to ask if anyone can help me with the >> following. >> When Outlook2003 clients select reply/reply all/forward >> to a mail item, I would like to automatically specify the >> account to use (Microsoft Exchange Server), which might >> be different than the one picked by Outlook for a >> particular mail item. >> >> This is needed due to the configuration we have. >> We use Exchange 2003 for internal mail and also for >> sending external mail with SMTP. >> However, we use an ISP for actually hosting external mail. >> The Outlook clients are configured to use POP3 for >> receiving external mail from the ISP. Unfortunately, >> Outlook 2003 will use the account (transport) that the >> mail item was received via as the account for >> replying/forwarding, even if the Microsoft Exchange >> Server is the primary (default) account. >> >> Thanks. > > >. > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Sure. For an example of how to get and use a commandbar button in code see
the second and third VBA examples at http://www.slovaktech.com/code_samples.htm#SendReceive Getting and using any other button is very similar. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Michael Gordon" <gordonm-remove-@emfcontrols.com> wrote in message news:60e001c42e13$07f92000$a601280a@phx.gbl... > I'm new to this; would you mind providing some more > detail on this. Thanks. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

