The Recipients collection provides you the Add method that adds new recipients to the collection. instances of the Recipient class in Outlook. The Recipients class contains all recipients of your message, i.e. It returns an instance of the Recipients class. The Recipients property is used for such a task. However, in order to send a message Outlook needs to know whom to deliver it to. It doesn’t accept or return any value (or object). The MailItem, AppointmentItem, MeetingItem, MobileItem, SharingItem and TaskItem classes provide this method to the programmer. The Outlook Object Model has the Send method. And now I want to make an addition to that: demonstrate how you can send a message programmatically. In one of my recent posts I showed two possible ways of creating and showing a new Outlook message. Today I want to tell you the story about sending messages in Outlook programmatically.
0 Comments
Leave a Reply. |