![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hello,
Take a look at Ron's solution ... http://www.rondebruin.nl/mail/account.htm Thank you! I have include the code in my solution and der sender-account is changing. Unfortunately the mail is get stuck in the Outgoing-Folder. I must reopen the mail and must once again click of the send button. Then I must also again sign the mail. Then the mail will be sending. The code is: Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Dim objRecip As Recipient Item.SendUsingAccount = Outlook.Application.Session.Accounts.Item(1) Set objRecip = ") objRecip.Type = olBCC objRecip.Resolve Set objRecip = Nothing End Sub Thank you! Michael |
#2
|
|||
|
|||
![]()
You have to set that property before the message is sent. If you use
the code from Ron's site and create your message programmatically, it should send normally. --JP On Nov 24, 3:51*am, Michael wrote: Hello, Take a look at Ron's solution ... http://www.rondebruin.nl/mail/account.htm Thank you! I have include the code in my solution and der sender-account is changing.. Unfortunately the mail is get stuck in the Outgoing-Folder. I must reopen the mail and must once again click of the send button. Then I must also again sign the mail. Then the mail will be sending. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I change the email account when sending Invitations to Appointments? | Marts | Outlook - General Queries | 0 | July 26th 09 06:03 AM |
Change signatures based on which account you're sending from? | FISH | Outlook - General Queries | 1 | December 5th 08 05:09 AM |
Outlook Script Sending Mail using another account ? | bbnimda | Outlook - Using Forms | 4 | November 10th 08 06:34 PM |
select e-mail account for sending message | BBran | Outlook - General Queries | 12 | August 3rd 07 04:42 PM |
how to automate specifying the account to use when sending mail? | admaybhate | Outlook - General Queries | 3 | September 18th 06 11:49 AM |