Email Device

Email Device

The email device can send messages of type SerializableMailMessage. This is a specific message type which wraps the .NET MailMessage object, and specifies all the fields typically found in an email.

As this device only accepts SerializableMailMessages, email messages are typically branched/queued from other channels as part of other workflows. For example, if a workflow needs to notify a user via email, it would send a SerializableMailMessage to an Email Channel whose only purpose is to queue and send emails.

Never send PHI via email

image-20250919-152216.png

Note that the settings in the Email Device can be overridden by values in the SerializableMailMessage. For example, the From and To fields in the email device will only be used if they are not specified in the mail message.

The Email Device configuration is very simple. It takes SMTP settings and retry settings - all self-explanatory.

image-20250919-152842.png
image-20250919-152930.png

Email messages in the queue can be viewed like any other message type.

image-20250919-153206.png

Attachments

Attachments can be included by passing a Dictionary<string, byte> to the QueueEmailMessage function, or, adding attachments to the MailMessage object.

image-20250919-155249.png

Attachments are also displayed in the queue In/Out viewers. Attachments can be saved to disk by right-click and choosing Save As.

image-20250919-155458.png