The Send Mail activity allows you to send an email to an email address.
начало внимание
If using a third-party mailing program is prohibited in the settings of your email provider, the activity will not work, an error occurs.
конец внимание
Activity settings
The activity settings are specified manually. To open the settings window, click on the activity on the process diagram.
Parameters Tab
The Parameters tab displays the basic activity parameters.
Name. The activity name on the process diagram. It is set by default when adding the activity. You can change the name in this field.
SSL. If the connection to the mail server does not require SSL certificate verification, select No. The default value is Yes.
When filling in the Server address, Server port fields, you can enter a value manually or use the process context variables that store the values. Click on the icon and specify the variable. You can select it from the list or add a new one by clicking Create parameter. The value is inserted as {$variable name}.
Server address. Enter the address of the mail server. This field supports only the String type variables.
Server Port. Specify the port of the mail server. This field supports only the String and Integer type variables.
Timeout. How long (in milliseconds) will the system wait for a response from the mail server. By default it is 10000.
In the fields Login, Password, Sender, Recipients, Copies, Subject, Message text, and Attachments you can select a variable from the list or add a new one by clicking the button. To clear a field, click the
button.
Login, Password. Select or create the String type variables that store the login and password from the mail server respectively.
Sender. Select or create a String type variable that will store the sender's email address.
Recipients. Select or create a String type variable that will store the recipient's email address. When creating a context variable, you can specify multiple recipients by selecting Array.
Copies. Select or create a String type variable that will store the email address of the recipient who will receive a copy of the email. When creating a variable, you can specify multiple recipients by selecting Array.
Subject. Select or create a String type variable that will store the subject text.
Message text. Select or create a String type variable that will store the text of the email.
Attachments. Select or create a File type variable that will store the attachment to the email. Specify the path to the file in the system in the variable value.
HTML Content. If the body of the email contains HTML code, select Yes. The default value is No.
Conditions Tab
Read more about the Conditions tab in the "Basic activity settings principles" article.
Found a typo? Highlight the text, press ctrl + enter and notify us