Outlook automation options

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Petrol
    Contributor
    • Oct 2016
    • 295

    Outlook automation options

    When I create an email directly in Outlook, it gives me options to select the email account to use (the 'From' dropdown) and the address to direct replies to ('Delivery options'). I can't find any way to implement these options uning Mailitem.Send. Is it possible?
  • Answer selected by NeoPa at Jan 1 '26, 04:55 PM.
    NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32662

    Hi there Petrol.

    The Outlook.MailIte m object has various properties that pertain to who sent the email (Sender, SenderEmailAddr ess, SenderEmailType , SenderName, SendUsingAccoun t & SentOnBehalfOfN ame) which cover that area. You could also look at the ReplyRecipients collection property for whom the reply should be addressed to automatically.

    Essentially, the Outlook.MailIte m object needs to be set up with this information before you use the Outlook.MailIte m.Send() method.

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32662

      #2
      Hi there Petrol.

      The Outlook.MailIte m object has various properties that pertain to who sent the email (Sender, SenderEmailAddr ess, SenderEmailType , SenderName, SendUsingAccoun t & SentOnBehalfOfN ame) which cover that area. You could also look at the ReplyRecipients collection property for whom the reply should be addressed to automatically.

      Essentially, the Outlook.MailIte m object needs to be set up with this information before you use the Outlook.MailIte m.Send() method.

      Comment

      • Petrol
        Contributor
        • Oct 2016
        • 295

        #3
        Oh, I see. I had looked up Outlook.MailIte m, but I didn't see the Properties way down at the bottom of the page! Thank you. I'll try that.

        Comment

        Working...