mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-10 16:58:42 +00:00
96d4a3ecf7
Due to historical reasons, the code is in subfolder "1". With SVN removal, we place the code back and remove the annoying "1" folder.
18 lines
599 B
Plaintext
18 lines
599 B
Plaintext
NEW CALLBACK FUNCTION:
|
|
======================
|
|
|
|
We have had requests for a method to process the results of sending emails
|
|
through PHPMailer. In this new release, we have implemented a callback
|
|
function that passes the results of each email sent (to, cc, and/or bcc).
|
|
We have provided an example that echos the results back to the screen. The
|
|
callback function can be used for any purpose. With minor modifications, the
|
|
callback function can be used to create CSV logs, post results to databases,
|
|
etc.
|
|
|
|
Please review the test.php script for the example.
|
|
|
|
It's pretty straight forward.
|
|
|
|
Enjoy!
|
|
Andy
|