I have two email ids configured on my system. One is at Outlook express and other one is at outlook 2010. So I want send an email from Outlook express's email id. I have tried many examples from internet but mails are going only from Outlook 2010's Id but Mail should be sent from outlook express's id.
If it is possible that if i pass the email id of outlook express then mail will be sent from outlook express then please help me
I've tried this code :
Me.MAPISession1.UserName = Outlook
'--- MAPI Message
Me.MAPIMessages1.SessionID = Me.MAPISession1.SessionID
Me.MAPIMessages1.RecipAddress = "xyz@.com" ' Me.ListEMailAddress.Text '.List(Me.ListEMailAddress.Index) ' sendEMailAddr
Me.MAPIMessages1.AddressResolveUI = True
Me.MAPIMessages1.ResolveName ' Outlook security alerts fired here
Me.MAPIMessages1.MsgSubject = "I'm testing Outlook EMail through outlook 2007"
Me.MAPIMessages1.MsgNoteText = "I'm testing Outlook EMail. Notification of auto e-mail CSV File from TRIP" 'sendNote
Me.MAPIMessages1.Send False ' Outlook security alerts fired here
Set Outlook = Nothing
3 Replies - 2203 Views - Last Post: 30 December 2013 - 01:53 AM
Replies To: Send mail from Outlook Express not from outlook 2010
Re: Send mail from Outlook Express not from outlook 2010
Posted 30 December 2013 - 01:53 AM
Would it not be simpler to have both email accounts in one software and select the account that you want to send the email from.?
No all users in organisation has two email ids. one is on outlook express and other one is on microsoft outlook. so can't set their both ids on same platform. But it is done by selecting default email program. Thanks for the reply.
Page 1 of 1