Maildeliver()
This function writes the email out to disk
Usage
BOOLEAN = Maildeliver(
mail,
server,
usetls,
usessl,
from,
to,
cc,
bcc
)
| Argument | Summary |
|---|---|
| Mail object | |
| server | The server to which the mail will be delivered to. Can be in the format username:password@server:port [optional] |
| usetls | Flag to determine if TLS should be used for delivery [optional] |
| usessl | Flag to determine if SSL should be used for delivery [optional] |
| from | Override the existing FROM field in the original mail object [optional] |
| to | Override the existing TO field in the original mail object [optional] |
| cc | Override the existing CC field in the original mail object [optional] |
| bcc | Override the existing BCC field in the original mail object [optional] |
Calling
Supports named-parameter calling allowing you to use the function like:
Maildeliver( mail=?, server=?, usetls=?, usessl=?, from=?, to=?, cc=?, bcc=? );
Supports passing parameters as a structure using ArgumentCollection:
Maildeliver( ArgumentCollection={
mail : ?,
server : ?,
usetls : ?,
usessl : ?,
from : ?,
to : ?,
cc : ?,
bcc : ?
} );
