DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:mail_message_send

This is an old revision of the document!


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

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki