SetSpoolDir

The SetSpoolDir method overrides the default spool directory.

SetSpoolDir enables very high volumes of messages to be sent efficiently and quickly, by distributing the actual sending of messages to multiple ocxQmail dispatchers running on different machines/CPUs.
Remember that if you specify only one mail-server it may become over-extended. Specify multiple mail-servers for large quantities of emails.

Syntax

SetSpoolDir(directory)

Parameters

directory
Specifies the spool directory. It should not end with a slash. If this directory is on a different machine than the ocxQmail.ocx component be sure to specifiy a full UNC name.
NT services such as IIS require full UNC names to recognise a path's location.

Return Values

Returns nothing.

Applies To

ocxQmail ASP Component