QueueMail (open)
This function puts a message in the WebHare mail queue, and send it to the standard mail server
Syntax
LOADLIB "mod::system/lib/mailer.whlib";
BOOLEAN FUNCTION QueueMail(STRING origin, STRING ARRAY receivers, STRING sender, RECORD ARRAY mimeheaders, RECORD toppart)Parameters
STRING originOriginating module
STRING ARRAY receiversArray of email addresses of the receivers (all To, Cc and Bcc recipients)
STRING senderEmail address of the sender
RECORD ARRAY mimeheadersHeaders to send with the message (including From, To, etc headers, but without any Bcc headers)
RECORD toppartTop-level part of the MIME message to send
Return value
BOOLEANfalse if queueing failed (either database server unreachable or an i/o error in database)