SMTP

The AgileLoad SMTP module is used to send Internet mail using the SMTP protocol (the Internet mail standard). It implements a standard SMTP client as specified in RFC 821. You can generate SMTP traffic by creating AgileLoad scripts containing calls to the SMTP functions.
You can use the AgileLoad Script Editor "Insert Mail Request" utility to insert SMTP function calls in your script.

Example:

IF (SMTP_Connect("AgileLoadMailServer", 25) == 0)
    exit;
ENDIF

SMTP_SendOption("From", "info@agileload.com");
SMTP_SendOption("SendTo", "Mail1@AgileLoad.com");
SMTP_SendOption("Subject", "A first message");
SMTP_SendOption("Cc", "Mail2@AgileLoad.com");
SMTP_SendOption("Importance", "High");
SMTP_SendOption ("Sensitivity", "Personnal");
SMTP_Send ("Hello, this is a first message");

SMTP_Disconnect();

See also:





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap