Liquidsoul
46e0edc3dd
Replace html <br/> tags with \n in mail text
2019-04-16 14:11:07 +02:00
Paul B
a51ee59d1c
mailservice: use a custom html2text callback for plain text emails
...
The current `html2text` function from the PHPMailer library strips all
html tags and only keeps the inner html.
In the case of <a> tags we need to share the `href` attribute to the
user when he reads his mail in plain text format.
Fixes #419
2019-04-15 18:43:27 +02:00
Nicolas Bouilleaud
7b0e42bec4
Use the new named constant for 'utf-8'
2019-04-15 17:53:53 +02:00
Nicolas Bouilleaud
6b91a226ba
Set the MailService Charset before setting the body
...
msgHTML builds the text/plain part by converting the passed html to text in the current CharSet; the default Charset being iso-8859-1, most non-ascii characters are lost.
fixes #416
2019-04-15 17:22:09 +02:00
Luc Didry
6b3c5f0610
WIP Working on locales
2018-08-14 14:35:08 +02:00
Thomas Citharel
f861b77326
Merge tag '1.1.6' into develop
2018-07-09 12:26:38 +02:00
Thomas Citharel
bc28281477
Update deps and bump PHPMailer to version 6
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 12:17:33 +02:00
Thomas Citharel
d6c2f01457
Introduce an use_sendmail option
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-05-25 15:50:35 +02:00
Simon LEBLANC
8720595874
Allow setting SMTP config
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-21 11:07:11 +01:00
Thomas Citharel
3157d6a590
Run php-cs-fixer with a custom config. This may break a lot of things
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-19 19:43:30 +01:00
Olivier PEREZ
882203fad8
Fix #87 Use PHPMailer to add non-HTML body to mails
2015-10-22 21:34:15 +02:00
Olivier PEREZ
ad2b146c3c
Remove parameter from MailService::send
2015-05-29 17:49:01 +02:00
Olivier PEREZ
278e478d1a
Write log when send a mail
2015-05-29 17:41:50 +02:00
Olivier PEREZ
be155aa2a1
MailService now manage the anti-flood system
2015-05-29 17:06:03 +02:00
Olivier PEREZ
45d14044f8
Factorize a little the mails
2015-04-14 22:32:41 +02:00
Olivier PEREZ
77234edc82
Add page where the users can ask to receive their polls by mail
2015-04-08 22:11:19 +02:00
Olivier PEREZ
593d39c9cb
Fix missing keys
2015-04-07 20:06:24 +02:00
Olivier PEREZ
1578703de6
Fix line breaks on mails sent
2015-01-01 01:17:53 +01:00
Olivier PEREZ
8109b11b70
Move mail sending to class \Framadate\Service\MailService
2014-12-23 00:58:00 +01:00