SendEmail

Description

This activity adds an email to the sending queue.


Advanced Options

HighPriority InArgument<Boolean>

Default is false. Set this argument to True to make the Email high priority.

When it's True the activity adds the 'X-Priority' header with the value 1.


DocsMarshal Fields

DomainId InArgument<Int32?>

The id of the domain.

ExternalId InArgument<String>

The externalId of the email to send.

LanguageId InArgument<Int32?>

The id of the language.

RelatedObjectId InArgument<Guid>

The id of the profile related to the email. Use this property if the email is related to some profiles to improve the search options (it is possible, for example, to search all the email related to a specific profile).

RelatedObjectIds InArgument<IEnumerable<Guid>>

The ids of the profiles related to the email. Use this property if the email is related to some profiles to improve the search options (it is possible, for example, to search all the email related to a specific profile).

The tags of the email.


Email

Subject InArgument<String>

The subject of the email.


Email - Attachments

Attachment InArgument<Attachment>

The single attachment of the email.

The list of attachments of the email.

The list of related items of the email.


Email - Body

The body of the email.

BodyIsHtml InArgument<Boolean>

This flag indicates if the content of the email is HTML (true) or PLAIN TEXT (false).


Email - From Eml

EmlContent InArgument<Byte[]>

The content of the email. It is possible to create an email using the CreateEml activity and use the returned content to send it.


Mail Account

IdMailAccount InArgument<Guid?>

The id of the MailAccount to use for sending the email.

MailAccountExternalId InArgument<String>

The external id of the MailAccount to use for sending the email.


Misc

Orchestrator InArgument<IManager>

The orchestrator object represents the connection to a DocsMarshal installation.

If this argument is left null the activity will work on the running installation. To work on another installation you must get its orchestrator by the activity DatabaseOrchestrator.

OwnerUserId InArgument<Int32?>

The id of the owner security identity.

Result OutArgument<Mail>


Reciver - Bcc

BccDMUserOrGroupList InArgument<IEnumerable<Int32>>

The list of the ids of the users or the user groups to send the email as Bcc to.

The list of Bcc addresses to send the email to.

CcDMUserOrGroupList InArgument<IEnumerable<Int32>>

The list of the ids of the users or the user groups to send the email as Cc to.

ToDMUserOrGroupList InArgument<IEnumerable<Int32>>

The list of the ids of the users or the user groups to send the email to.


Reciver - Cc

BccDMUserOrGroup InArgument<Int32?>

The id of the user or the user group to send the email as Bcc to.

CcDMUserOrGroup InArgument<Int32?>

The id of the user or the user group to send the email as Cc to.

The list of Cc addresses to send the email to.

The list of addresses to send the email to.


Reciver - To

The single Bcc address to send the email to.

The single Cc address to send the email to.

The single address to send the email to.

ToDMUserOrGroup InArgument<Int32?>

The id of the user or the user group to send the email to.


Sender

The address from which to send the email.

FromDMUser InArgument<Int32?>

The id of the user from which to send the email.