ActionStep: Send Mail

Send Mail - Sends an email.

Where you can use action:
Workflow

Parameters:
To (type: text or array of text) - email recipients. Examples:
=’john.smith@test.pl
john.smith@test.pl
=array(’john.smith@test.pl’, ‘ann.smith@test.pl’)

Cc (type: text or array of text) - email cc field.

Bcc (type: text or array of text) - email blind cc field.

Subject (type: text) - subject of email

Message (type: text) - message body

Attachments (type: attachment array) (optional argument) - attachments to be sent in the message.

Scheduled date time (type: datetime(UTC)) - scheduled delivery date

Condition - (type: checkbox) - scheduled date condition

Change from version 2.3

In the previous version, the execution condition was checked only if the date of sending was set.

From the new version, regardless of whether the email is to be sent now or in the future, the condition will be taken into account.

Exclude link to app (type: logical value) If this parameter is FALSE, with message body will be sent link to this app and if it is TRUE, link won't be sent. (By default link is sent)

Available from version 2.3

Format (type: text) (argument: optional)- the format parametr determines how the mail message will be displayed. Three possible value are available:

  • default - the message will be displayed in the default Qalcwise format. The format contains the Qalcwise logo and a green button with a link to the application. For stateless applications (i.e. those that only contain start-to-finish actions), the button will not be displayed.

  • plaintext - the message will be sent as plain text without any Qalcwise template.

  • HTML - the message will be sent in HTML format. This format is most often used when you want to send an email containing content that is in a rich text.

 

Sending an email with a scheduled date and sending condition does not work in the state - Start
In order to be able to send an email scheduled, the application must have an instance created. In the start state, the instance does not yet exist, so the scheduled sending in this state will not be executed.
 
The email sending condition is checked only at the scheduled sending date
If both the sending date and sending condition fields are set in the action, the condition is checked only at the time of scheduled sending. This means that the system will check that the condition is met exactly at the time of the send date, and not at the time the workflow is started.

Notice:

If you plan to send an email in the future (e.g. using =adddays(NOWUTC(),1) and specify the formula =CURRENCTUSERMAIL() as the addressee, it may happen that the message will not be sent. This is because during scheduled sending, it is not always possible to calculate the dynamic email address correctly (for example, if the user is no longer active or access to the session is limited).

In such cases, it is better to provide a static address, e.g. ='john.smith@test.pl'

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk