Skip to main content

Save Mail

RCA.Activities.Mail.SaveMail

Description​

This activity saves an email as an .eml file. It works with emails read by any Get activity (Outlook, IMAP, POP3 or Exchange). The folder in File Path must already exist. A file with the same name is overwritten.

mail-save

(* is mandatory)

Properties​

Input

  • Mail Message (MailMessage)* - The MailMessage object to be saved.
  • File Path (String)* - The full path of the file, including the file name and the .eml extension. A relative path is relative to the project folder.
    E.g: "Data\Output\MyEmail.eml"

Misc

  • Public (Checkbox) - Check if you want to public it. Remember to consider data security requirement before using it.
  • Display Name (String) - The name of this activity. You can edit the name of the activity to organize and structure your code better.
    E.g: Save Mail

See also: Exchange activities​

The Exchange activities are part of the Mail package (in akaBot Studio: Mail > Exchange). This activity also works with emails read from an Exchange Server: