-sendwait (-sw)
Previous Topic  Next Topic 

Category:

 

SMTP Server Communication

 

Description: 

 

Sets the number of milliseconds to wait after sending a message. Useful for some mail servers that prevent message sending from causing a throughput overload.

 

If you are sending a large number of emails in one run (for example, a large mass-mailing with thousands or tens of thousands of emails to be sent) then you can use this parameter to "control the flow" - the SMTP server is given time to process each "chunk" of emails before the next one is sent to it.

 

Optional?

 

Yes.

 

Overrides:

 

None.

 

Overridden By:

 

None.

 

Other Parameters Required:

 

-to -from -server

 

See Also:

 

-failsafe -reconnectaftersend

 

Usage:

 

-sendwait <inter-mailing delay integer value in milliseconds>

 

Example (cut-and-paste right into your batch file):

 

NetMailBot -sendwait 5000 -to email@domain.com -from email@domain.com -server mail.domain.com -subject "test" 

 

Comments:

 

See the Controlling Throughput to the SMTP Server topic for more information on the use of this parameter.