How to change the sending account

  • Thread starter Wolf Remove-YourHat
  • Start date
W

Wolf Remove-YourHat

Problem:
I want to be able to confirm (and if necessary,
change) the account sending an email in outlook 2000.

Detail:
When processing my outgoing email in
Application_ItemSend I can't find/figure out how to access
where the sending account can be inspected and/or changed.
Some of the wrong stuff I've tried (MailItem.SenderName &
CDO MAPI.Message.Sender.Address) was from thinking that
the sender was already embedded in the message. I'm pretty
sure I have to get at the "Send message using" value (in
the outlook mail editor -> toolbar -> Options -> "Send
message using" ddl), but I'm having trouble.

thanks
Wolf
 
A

Andrew Cushen

Wolf:

There's probably an easier way, but:

See the info about using Btn.Execute at the top of the
window at this site:
http://www.dimastr.com/outspy/howto.htm#oom2

The Button ID for SEND USING is: ID: 31144

You will have to play around with the format that the
button wants the account name in, but you should be able
to make it work.

You may find the following, retrieved using Outlook Spy,
helpful:
CommandBars.Item("Menu Bar").Controls.Item
("&File").Controls.Item("S&end Using")
[should be all on one line]

Good Luck,

-Andrew Cushen
==========================================
 
W

Wolf TakeOut-TheTrash

Thanks,
I will see where I can get with that. But you're
right, I was hoping someone would know of how to access
the "Send message using" value through the object model.

Also, thanks for the headstart by giving me the id for
the "SEND USING" ddl.

Wolf
-----Original Message-----
Wolf:

There's probably an easier way, but:

See the info about using Btn.Execute at the top of the
window at this site:
http://www.dimastr.com/outspy/howto.htm#oom2

The Button ID for SEND USING is: ID: 31144

You will have to play around with the format that the
button wants the account name in, but you should be able
to make it work.

You may find the following, retrieved using Outlook Spy,
helpful:
CommandBars.Item("Menu Bar").Controls.Item
("&File").Controls.Item("S&end Using")
[should be all on one line]

Good Luck,

-Andrew Cushen
==========================================

-----Original Message-----
Problem:
I want to be able to confirm (and if necessary,
change) the account sending an email in outlook 2000.

Detail:
When processing my outgoing email in
Application_ItemSend I can't find/figure out how to access
where the sending account can be inspected and/or changed.
Some of the wrong stuff I've tried (MailItem.SenderName &
CDO MAPI.Message.Sender.Address) was from thinking that
the sender was already embedded in the message. I'm pretty
sure I have to get at the "Send message using" value (in
the outlook mail editor -> toolbar -> Options -> "Send
message using" ddl), but I'm having trouble.

thanks
Wolf

.
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top