devel:event:mail_message_send
This is an old revision of the document!
Table of Contents
MAIL_MESSAGE_SEND
- Description:
- manage mail sending from DokuWiki
- DefaultAction:
- send a message using PHP's mail() funtion
- Preventable:
- yes
- Added:
- 2007-09-30
The event is signalled by DokuWiki's mail_send() function in inc/mail.php. It can be used to replace DokuWiki's mail function with another mailing mechanism.
Some additional info can be found in this mailinglist thread.
Passed Data
An associative array with mail_send() parameters: to, subject, body, from, cc, bcc, headers, params.
Plugins handling this event
The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.
See also
devel/event/mail_message_send.1527607317.txt.gz · Last modified: 2018-05-29 17:21 by andi