Bug (?) in a badly formatted mail message |
[eluser]smidiod[/eluser]
This is an esoteric bug, if it can count as a bug at all, but here goes: When sending mail with an attachment, if the attached file is missing (a path error in my case) the email body gets screwed up and doesn't display. (I was using a multi-part, HTML message but I don't know if plain text is affected). It's hardly high-priority but I thought it might be worth mentioning. Of course, if your code works, this "bug" never appears... ;-)
[eluser]sophistry[/eluser]
hi smidiod, "screwed up" is a pretty vague description for a bug report ;-) can you post the source of the email in question? cheers.
[eluser]smidiod[/eluser]
I'll replicate it if I can, but FWIW, the end user just gets what amounts to a blank email without the attachment. BTW Sophistry, love the tree... I'm soooo jealous.
[eluser]smidiod[/eluser]
OK, so here is a message with an attachment (where the attachment path is invalid and the programmer didn't spot the error ... d'uh!) Quote:Subject: =?utf-8?Q?Test_with_broken_attach?= And now, with the attachment removed for brevity - but the effect is the same if the path is valid. Code: Subject: =?utf-8?Q?Test_with_broken_attach?= There's obviously something going on here - even CI's forums aren't beautifying the code! As I said, this is a very minor and esoteric bug ... but someone might want to attend to it.
[eluser]codepotato[/eluser]
Think i've solved this here : http://ellislab.com/forums/viewthread/69463/#811241
[eluser]novice32[/eluser]
Not sure if this will solve your problem, but in my case, the boundary characters (--B_ALT_4cd9fda874c62--) would always show in the email footer when viewed in Outlook express (testing locally on Win 7, XAMPP). I read the Email.php core class to see how "send_multipart" is set. By default, it's TRUE. I set it to FALSE, and my boundary line no longer showed. While not in the CI User Guide as a parameter, you can set send_multipart just like the other settings (i.e. Code: $config_email['send_multipart'] = FALSE; |
Welcome Guest, Not a member yet? Register Sign In |