SMTP_Send function

Call the SMTP_Send function to send the current message. The current message options must be set (see SMTP_SendOption function) before calling SMTP_Send .

Format:

Integer iRet=SMTP_Send(String SMTP_MessageText)

Parameters:

Example:

SMTP_Connect("AgileLoadMailServer", 25);
SMTP_SendOption("From", "[email protected]");
SMTP_SendOption("SendTo", "[email protected]");
SMTP_SendOption("Subject", "A first message");
SMTP_SendOption("Cc", "[email protected]");
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