3 Replies - 1621 Views - Last Post: 30 December 2013 - 01:53 AM Rate Topic: -----

#1 Abhinav Gaur  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 05-December 13

Send mail from Outlook Express not from outlook 2010

Posted 23 December 2013 - 01:55 AM

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
Me.MAPISession1.SignOn

'--- MAPI Message
Me.MAPIMessages1.SessionID = Me.MAPISession1.SessionID
Me.MAPIMessages1.Compose
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
'-------------------------------------------

Me.MAPISession1.SignOff
Set Outlook = Nothing
'=======================================

Is This A Good Question/Topic? 0
  • +

Replies To: Send mail from Outlook Express not from outlook 2010

#2 ashleycardwell94  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 13-October 12

Re: Send mail from Outlook Express not from outlook 2010

Posted 28 December 2013 - 04:14 PM

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.?
Was This Post Helpful? 0
  • +
  • -

#3 astonecipher  Icon User is offline

  • D.I.C.
  • member icon

Reputation: 795
  • View blog
  • Posts: 3,472
  • Joined: 03-December 12

Re: Send mail from Outlook Express not from outlook 2010

Posted 28 December 2013 - 04:23 PM

More than likely, Outlook 2010 is your default mail program and will always be selected first.
Was This Post Helpful? 0
  • +
  • -

#4 Abhinav Gaur  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 05-December 13

Re: Send mail from Outlook Express not from outlook 2010

Posted 30 December 2013 - 01:53 AM

View Postashleycardwell94, on 28 December 2013 - 04:14 PM, said:

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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1