Send attachment in Outlook with Subject and Body

If you are forwarding a MailMessage then you can simply use an assign to add the body and subject

MailMessage.Body = Body text
Mailmessage.subject = Subject

If I need to send a E-mail with Multiple Attachments or attachments with filenames that are generated on the fly, I do the following:

The flow:

  1. Create a New Mail Message
    add%20attachments2

  2. Add your Subject
    add%20attachments3

  3. Add the Body
    add%20attachments4

  4. Add The attachments using the invoke method activity.
    add%20attachments5

  5. Specify the attachment you want to add (You can put this invoke inside of a loop or however you need it in order to add multiple files to the mail message

  6. At this point you can either use a send Outlook or Send Exchange Activity to “forward” on the mail message

3 Likes