Multi-part boundary string displayed at end of HTML body
Posted: Mon Oct 13, 2008 5:09 am
Hi everyone
I'm currently changing/upgrading our custom mailing list script from phpMailer to SwiftMailer - I cannot wait to get it all configured and working!
The Decorator plugin is working excellently!:D
However using my test list, the multi-part boundary text seems to get displayed at the bottom of the HTML part, in Thunderbird at least.
When I view the message source I notice the following appended to the very bottom of the email:
When I switch Thunderbird to showing the mail as plain text only, the multi-part boundary doesn't display.
When I view the source of the email, the following multi-part boundary is also shown after the headers at the top, then between the plain text and HTML parts
So I'm guessing the problem is because of the linebreak that appears in the middle of the multi-part boundary at the bottom of the email.
That's causing Thunderbird to display the text as it thinks it's still part of the HTML body. That linebreak means it's no longer the exact string of the multi-part boundary.
Is there a reason why this phantom linebreak is appearing right in the middle of the multi-part boundary?
I see some other threads here discussing extra linebreaks appearing in emails.
Any info or explanations as to why this is happening?
Cheers, Ben
I'm currently changing/upgrading our custom mailing list script from phpMailer to SwiftMailer - I cannot wait to get it all configured and working!
The Decorator plugin is working excellently!:D
However using my test list, the multi-part boundary text seems to get displayed at the bottom of the HTML part, in Thunderbird at least.
When I view the message source I notice the following appended to the very bottom of the email:
Code: Select all
--_=_swift-109523997248f314416c4
396.91989810_=_--When I view the source of the email, the following multi-part boundary is also shown after the headers at the top, then between the plain text and HTML parts
Code: Select all
--_=_swift-109523997248f314416c4396.91989810_=_That's causing Thunderbird to display the text as it thinks it's still part of the HTML body. That linebreak means it's no longer the exact string of the multi-part boundary.
Is there a reason why this phantom linebreak is appearing right in the middle of the multi-part boundary?
I see some other threads here discussing extra linebreaks appearing in emails.
Any info or explanations as to why this is happening?
Cheers, Ben