Skip to content

SendEmail(Batch)

Function Description

TIP

Configuration Item Description

General

Command Input

  • Senderstring: Email address of the sender

  • Sender Namestring: Display name of the sender

  • MailFilePathstring: Please enter the template file path

  • DownloadTemplateBoolean: DownloadTemplate

  • Attachmentsstring: Attachments to be added to the email

  • Body is HTMLBoolean: Specify whether the email body is written in HTML format

Command Output

  • sMailResultTList<String>:

Advanced

  • SMTP ServerInteger: Send email messages using different SMTP protocols

  • Specify SMTP PortInteger: Enter the specified SMTP port number

  • Specify SMTP Serverstring: Enter the specified SMTP server

  • Enable SSLBoolean: Specify whether SSL should be used to send messages

  • SSL VersionInteger: Select SSL version

  • SMTP AuthenticationBoolean: Authenticate the user with the SMTP server

  • Usernamestring: The username for SMTP server authentication

  • Authorization Codestring: The authorization code for SMTP server authentication

  • Delay Before(milliseconds)Integer: The waiting time before instruction execution

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None