reference:spamrules_statement_sendmessage

This is an old revision of the document!


Spam Filter Rules: SendMessage

Statement SendMessage
Version 2.4.5+
Purpose Allows you to send a message

The SendMessage statement requires a recipient, subject, message text and a currently unused options parameter, in the format

SendMessage <recipient> <subject> <message text> <options>
  • You cannot send a message to multiple recipients using this method - the statement would instead need to be called separately for each recipient
  • Use \n in the message text so specify a line break
  • Currently no <options> are defined, so leave that parameter blank

Example

SendMessage "user@example.com" "Test message" "This is a test message\nThis is the second line\n\nThis is the fourth line" ""
reference/spamrules_statement_sendmessage.1314375908.txt.gz · Last modified: 2018/11/14 10:44 (external edit)