The Send-email object sends an email during test execution using the SMTP protocol.

Configuration

To configure the Send-email object, set the following properties:

  • Host: Specify the SMTP server hostname.
  • Port: Enter the SMTP server port.
    • Default: 25
    • For SMTP over SSL (STARTTLS), port 587 is commonly used.
  • Enable SSL?: Set to Yes to enable SSL encryption.
  • Username and Password (optional): Provide the SMTP authentication credentials.
  • From: Enter an expression that evaluates to the sender’s email address.
  • To: Enter an expression that returns a list of recipient email addresses.
    • Use a semicolon (;) to separate multiple addresses.
  • Subject (optional): Enter the email subject line.
  • Body (optional): Provide the email body content.
  • Attachment (optional): Specify the file path of an attachment to include in the email.

Properties:

NameDescription
Host(Required) The SMTP server host
Port(Required) The SMTP server listening port. The default is 25. 587 is typical for SMPT over SSL.
Enable SSL?Select Yes if the SMTP server uses SSL. Otherwise, select No.
UsernameThe SMTP server username.
PasswordThe SMTP server password.
From(Required) An expression that returns the From email address.
To(Required) An expression that returns the recipients' email addresses. Multiple email addresses are separated by the ';' character.
SubjectAn expression that returns the email subject.
BodyAn expression that returns the email body.
AttachmentAn expression that returns the path of the email attachment. The file path must be accessible to the StresStimulus application.


  • No labels