Skip to content

Update MailService.php

greenedv requested to merge feature/proper_mail_linebreaks into master

According to https://github.com/PHPMailer/PHPMailer/blob/master/src/PHPMailer.php#L3830 (above) they killed the standard html2text class and the text mails I got where wihtout any linebreaks at all. I kinda wrote a buildin function which 1. make proper line breaks, 2. removes a-Tag and 3. removes hr-tag.

Merge request reports