-
- Downloads
Replace e-mail class with one that uses PHPMailer
The old mail class uses the built-in `mail` function in PHP, and builds a payload by itself using hard-coded HTML and MIME-snippets. Let's use a library for that; PHPMailer has new dependencies and does all the heavy lifting.
Showing
- composer.json 1 addition, 0 deletionscomposer.json
- composer.lock 67 additions, 1 deletioncomposer.lock
- lib/SimpleSAML/Utils/EMail.php 151 additions, 0 deletionslib/SimpleSAML/Utils/EMail.php
- lib/SimpleSAML/XHTML/EMail.php 0 additions, 124 deletionslib/SimpleSAML/XHTML/EMail.php
- modules/cron/www/cron.php 3 additions, 14 deletionsmodules/cron/www/cron.php
- templates/mailhtml.twig 25 additions, 0 deletionstemplates/mailhtml.twig
- templates/mailtxt.twig 13 additions, 0 deletionstemplates/mailtxt.twig
- tests/lib/SimpleSAML/Utils/EMailTestCase.php 74 additions, 0 deletionstests/lib/SimpleSAML/Utils/EMailTestCase.php
- www/errorreport.php 14 additions, 88 deletionswww/errorreport.php
Loading
Please register or sign in to comment