Flourish PHP Unframework
This is an archived copy of the forum for reference purposes

Sending html mail with file attachments yields a strange message in the email client

posted by marcus 9 years ago

When I try sending an email message in html with an attached file I get this message "This message has been formatted using MIME. It does not appear that your email client supports MIME.". I've tried Gmail and Hotmail and I get the same message in both. If I send a normal text message with an attachment it works great.

Is this a limitation in the email clients, the medium or is it a bug in fEmail?

(Scratch what I said before)

It is entirely possible there is a bug in fEmail with regard to combining attachments and an HTML body. Does it work when you send HTML but don't include attachments?

posted by wbond 9 years ago

Yes every other combination works.

Sending normal text mails work, text/html works and text with attachment works. It's only when I try sending html with an attachment that it fails. I'm going to try doing the same thing with Swift Mailer right now to see if that works.

posted by marcus 9 years ago

Switched over to Swift Mailer and everything works with sending html emails with attachments. fEmail is so much easier to use though so a fix would be greatly appreciated :).

posted by marcus 9 years ago

I finally created a way to unit test this and fixed the bug in r767.

posted by wbond 9 years ago

Thanks that's totally awesome :D

posted by marcus 9 years ago