Exchange

Frends.Exchange.SendEmail / 2.0.0

Summary

Sends mail as a mailbox in Microsoft 365 through Graph, with attachments and a plain-text or HTML body, using an application identity rather than SMTP credentials.

Typical use — notifications from a Process that should come from a real organisational mailbox; the SMTP Task is the choice for any other mail server

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

Email content.

Name Type Default Example Description
From String – sender@example.com

Sender email address. This is the email address that will appear in the "From" field of the email.

To String – recipient1@example.com, recipient2@example.com

Recipient addresses separated by ',' or ';'. These are the main recipients of the email.

Cc String – cc1@example.com, cc2@example.com

Cc recipient addresses separated by ',' or ';'. These recipients will receive a copy of the email.

Bcc String – bcc1@example.com, bcc2@example.com

Bcc recipient addresses separated by ',' or ';'. These recipients will receive a copy of the email, but other recipients will not see their email addresses.

Subject String – Meeting Reminder

Email message's subject. This is the main topic or title of the email.

Message String – Don't forget about our meeting tomorrow at 10am.

Body of the message. This is the main content of the email.

IsMessageHtml Boolean False false

Set this true if the message is HTML. This allows you to send emails with HTML formatting.

Importance ImportanceLevels Normal ImportanceLevels.Normal

Importance level. This sets the importance level of the email (e.g., Low, Normal, High).

Possible values:

  • Low: Select this if the email is of low importance. This might be used for routine or informational emails.

  • Normal: Select this if the email is of normal importance. This is the default value for most emails.

  • High: Select this if the email is of high importance. This might be used for urgent or time-sensitive emails.

SaveToSentItems Boolean True true

Indicates whether to save the message in Sent Items.

Attachments Attachments[] – { AttachmentTypes.FileAttachment, C:\temp\temp.txt, *.* }, { AttachmentTypes.AttachmentFromString, temp.txt, "This is temp file." }

Email attachments.

An unhandled error has occurred. Reload 🗙