Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have the problem that every mail begins with a white space. First i thougt it is a problem of the mail body but it is a problem of the mime header. There are two white spaces - one white space is needed to split header and body information but the second white space goes directly into the body and turns up as a beginning white space in every mail.
In PreSend() of phpmailer class you can remove one white space in MIMEHeader and then it works without a white space in mail body.
Comments
Comment #1
oadaeh CreditAttribution: oadaeh as a volunteer commentedThis is not for this module, but the PHPMailer library. If this is still an issue, work with the PHPMailer at https://github.com/PHPMailer/PHPMailer