SMTP Protocol Overview

SMTP Vuser script functions emulate the Single Mail Transfer Protocol traffic. Each SMTP function begins with an smtp prefix. For detailed syntax information on these functions, see the Function Reference.

In the following example, the smtp_send_mail function sends a mail message, through the SMTP mail server, techno.

               "CommonName=Smtp Test User 0001",
    smtp_send_mail(    "SendMail",
                    "Subject=MIC Smtp: Sample Test",
                    "X-Priority: 3",
                    "X-MSMail-Priority: Medium",
                    "X-Mailer: Microsoft Outlook Express 5.50.400\r\n",
                    "X-MimeOLE: By Microsoft MimeOLE V5.50.00\r\n",
                        "Content-Type: text/plain;\r\n"
    return 1;

Note: When recording a login step in which an IP address was specified, the script saves the IP address instead of the host name.