SMIME Send encrypts and/or signs files, and sends them as email using an SMTP server.

Input Parameters

  • SMIME_SMTPAddress (Required) - The address of the SMTP server. Example: mail.mycompany.com.
  • SMIME_Sender (Required) - The email address of the sender. Example: joe@mycompany.com.
  • SMIME_Recipient - The email address of the recipient. Example: mary@shinythings.com.
  • SMIME_Subject - Email message subject text. Default: "File from MOVEit Automation is attached".
  • SMIME_Body - Email message body text. Default: "This message should have come with a file attached by MOVEit Automation .".
  • SMIME_RecipientCert - The subject of the recipient's certificate. Default: recipient email address.
  • SMIME_SenderCert - The subject of the sender's certificate. Default: sender email address.
  • SMIME_Sign - Whether the message should be cryptographically signed. Default: True.
  • SMIME_Encrypt - Whether the message should be encrypted. Default: True.

If the script fails to run and returns an error, it is typically caused by a configuration error. See the list of error codes to diagnose the problem.

Error Code

Meaning

500

A required task parameter was not found.

501

File attachment failure.

502

Could not find a certificate matching the provided subject(s).

503

Error sending the email message to the specified SMTP server.