SMTP and POP3 Workload script

You can use SMTP and POP3 Workload scripts.

SMTP and POP3 Initialization Workload script

Note: Text enclosed in asterisks (**) indicates comments.

**Script to initialize databases for NotesBench SMTP/POP3 mail scripts. Pause 0 - 15 minutes (15 min. = 900,000 ms.)**

pause 0 - 900000

**If an error occurs, wait 1 - 5 minutes before re-trying**

errordelay 60000 - 300000

**Create the mail file**

changeto "[MailServer]!![nb_dbdir]mail[#].nsf" [MailTemplate] -KeepOpen

**Open views**

open $Inbox
close

SMTP and POP3 Workload script

Text enclosed in asterisks (**) indicates comments.

**Pause a random interval so multiple processes are staggered well**

pause 0 - 180000

**If an error occurs, wait 1 - 2 minutes before re-trying**

errordelay 60000 - 120000

**Start the part of the script that loops**

**Send an SMTP message**

sendsmtpmessage [NormalMessageSize] [MessageLineSize] [NumMessageRecipients] [SMTPHost] [RecipientDomain][ClientHost] [NthIteration]
pause 240000 - 360000

**Retrieve all POP3 messages**

retrievepop3mail mail[#] NotesBench 0 [POP3Host]
pause 240000 - 360000

**Repeat entire sequence (go back to BeginLoop Statement)**

rewind