-config (-c)
Previous Topic  Next Topic 

Category:

 

Configuration

 

Description: 

 

Specifies a configuration file from which to load commonly used parameters.

 

NetMailBot will load parameters from the command line/batch file first, then load parameters from the configuration file.

 

Parameters in the configuration file do not override, but add-to, the parameters specified on the command line or in a batch file.

 

As with batch files, all parameters cannot be separated by a carraige return. 

 

Optional?

 

Yes.

 

Overrides:

 

None.

 

Overridden By:

 

None.

 

Other Parameters Required:

 

-to -from -server (if your config file contains these parameters, then your batch file does not need them as well)

 

See Also:

 

None.

 

Usage:

 

-config "<config file>"

 

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

 

NetMailBot -config c:\temp\config.txt -to email@domain.com -from email@domain.com -server mail.domain.com -subject "test" 

 

Comments:

 

None.