Send-SmtpMail

Sends an e-mail via SMTP (Simple Mail Transfer Protocol) provided that TCP/IP is installed as the network protocol. The sender can be freely assigned. Several recipients can be specified, separated by semicolons. This command works like a standalone user agent.


Settings:

  • Sender name
    The sender's name that appears on the recipient's screen. Variables are supported.
  • Sender address
    The actual sender address to which the recipient can reply. Variables are supported.
  • To
    Enter the recipients that you want to address directly here. Multiple recipients are separated by semicolons. Variables are supported.
  • Cc
    Enter the recipients to whom you would like to send the mail as a carbon copy. Multiple recipients are separated by semicolons. Variables are supported.
  • Bcc
    Enter the recipients to whom you want to send the mail as a "blind carbon copy" invisible to the other recipients. Multiple recipients are separated by semicolons. Variables are supported.
  • Subject
    The subject of the mail. Variables are supported.
  • Please enter your message text
    The actual message text. Variables are supported.
  • File attachments
    Files to be attached to the e-mail. Multiple files can be attached. Variables are supported.
  • Use 32-Bit mode on x64 computer
    If the script is executed on a 64-bit operating system, the counterpart for 32-bit applications SysWOW64 can be used automatically when referring to the SYSTEM32 directory.
  • Button "SMTP Server"
    The "E-mail Server" dialog opens. Enter the e-mail server using the IP address or the computer name and other parameters for the connection to the mail server. Variables are supported.


Example:


Corresponds to DSM eScript command:

  • SendSmtpMail


See also: