wiki:Documentation/ARexxAPI/MAILSENDALL

Languages:

MAILSENDALL

NAME
MailSendAll -- Send all the messages in the "Outgoing" folder.
TEMPLATE
FUNCTION
Sends all the messages in the "Outgoing" folder.

Messages marked as "Hold" are not affected by the command.

INPUTS
RETURNS
In V1.x, RC was always set to 0. As of V2.0 however, RC is set to 5 if the TCP/IP stack is not online of if there isn't any message ready to be sent.

Likewise, in V1.x RESULT was set to the number of sent emails, or -1 if the connection to the mail server failed. RESULT is never initialized in V2.0+.

NOTES
EXAMPLE
BUGS
No warning was returned in case of a problem to send. This was fixed in V2.0.
SEE ALSO
Last modified 9 months ago Last modified on Feb 5, 2014 10:26:32 AM