SMTP

Frends.SMTP.SendEmail / 2.1.0

Summary

Sends mail through any SMTP server, with attachments and a plain-text or HTML body.

Typical use — notifications and report delivery from a Process; the Exchange Task is the better fit when the mailbox is in Microsoft 365

Details

Frends version
5.5 and newer
Agent
Crossplatform
Target framework
net6.0

Input parameters.

Name Type Default Example Description
To String jane.doe@somedomain.com jane.doe@somedomain.com

Recipient addresses separated by ',' or ';'

Cc String jane.doe@somedomain.com jane.doe@somedomain.com

Cc recipient addresses separated by ',' or ';'

Bcc String jane.doe@somedomain.com jane.doe@somedomain.com

Bcc recipient addresses separated by ',' or ';'

From String john.doe@somedomain.com jane.doe@somedomain.com

Sender address.

SenderName String Jane Doe

Name of the sender.

Subject String Hello Jane Hello Jane

Email message's subject.

Message String You've got mail! You've got mail!

Body of the message.

IsMessageHtml Boolean false true

Set this true if the message is HTML.

MessageEncoding String utf-8 utf-8

Encoding of message body and subject. Use following table's name column for other options. https://msdn.microsoft.com/en-us/library/system.text.encoding(v=vs.110).aspx#Anchor_5

An unhandled error has occurred. Reload 🗙