PC Review


Reply
Thread Tools Rate Thread

Changing default account for replying to message

 
 
=?Utf-8?B?c2ltb25j?=
Guest
Posts: n/a
 
      10th Jun 2005
When you click on Reply to create a new message the reply is sent using the
account the original message was sent to. Is there any Outlook setting for
changing this - so any reply would automatically sent using your default
account although the original message might have been sent to a different
account?

If not, how would you structure a macro to do this? Can you get a macro to
run when the reply button is clicked? Or is there a way of intercepting a
message as it goes to the Outbox and changing the account if it is not
already the default account?

Grateful for any advice.
 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      10th Jun 2005
No, there's no such setting. Also, Outlook doesn't provide any direct way to change the account for an outgoing message. See
http://www.outlookcode.com/codedetail.aspx?id=889 for various workarounds that might fit your scenario.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"simonc" <(E-Mail Removed)> wrote in message news:F8CECE55-0447-420E-94E4-(E-Mail Removed)...
> When you click on Reply to create a new message the reply is sent using the
> account the original message was sent to. Is there any Outlook setting for
> changing this - so any reply would automatically sent using your default
> account although the original message might have been sent to a different
> account?
>
> If not, how would you structure a macro to do this? Can you get a macro to
> run when the reply button is clicked? Or is there a way of intercepting a
> message as it goes to the Outbox and changing the account if it is not
> already the default account?
>
> Grateful for any advice.

 
Reply With Quote
 
=?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ==
Guest
Posts: n/a
 
      10th Jun 2005
No, you can't configure Outlook to use a different account when replying.
But you can programmatically change the account by executing one of the
account entries in the menu list:

Dim objCBs As Office.CommandBars, objCBPU As Office.CommandBarPopup,
objCBC As Office.CommandBarControl
Set objCBPU = ActiveInspector.CommandBars.FiĀ*ndControl(, 31224) 'GET THE
ACCOUNTS POPUP MENU
For Each objCBC In objCBPU.Controls
If objCBC.Caption = "Your account name" Then
objCBC.Execute
Exit For
End If
Next

However, this isn't very different from simply choosing the account yourself
- it maybe saves one click. You could have this code run automatically by
firing it during a certain event, but aside from the Item_Send event - at
which point you *can't* change the account anyway because it's committed -
there's no real good event to change the account.

It might be possible though to change the account during Item_Open, but
you'd need to trap the opening of all e-mails so that you can get a handle to
this event by setting a reference to the reply message *inside* the message
you are replying to (at the point of clicking the Reply button). However, I
think I tried this before and couldn't execute the account menu item during
Item_Open.

This may be more trouble than it's worth, IMHO.

--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
Try Picture Attachments Wizard for Outlook! http://tinyurl.com/9bby8
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


"simonc" wrote:

> When you click on Reply to create a new message the reply is sent using the
> account the original message was sent to. Is there any Outlook setting for
> changing this - so any reply would automatically sent using your default
> account although the original message might have been sent to a different
> account?
>
> If not, how would you structure a macro to do this? Can you get a macro to
> run when the reply button is clicked? Or is there a way of intercepting a
> message as it goes to the Outbox and changing the account if it is not
> already the default account?
>
> Grateful for any advice.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Force default account when replying dgold82 Microsoft Outlook Discussion 3 3rd Mar 2009 06:09 PM
Changing account from default clears data in message abhunt2 Microsoft Outlook Discussion 1 3rd Oct 2008 08:43 PM
Changing the default account lockout message aDAM Microsoft Windows 2000 Active Directory 3 3rd Sep 2004 12:54 PM
Default e-mail account not used when replying jb Microsoft Outlook 2 19th Jul 2004 05:29 AM
selecting default account when replying SCOTT Microsoft Outlook Discussion 2 15th Mar 2004 08:37 PM


Features
 

Advertising
 

Newsgroups
 


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