bcosca / fatfree

A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!
2.66k stars 446 forks source link

smtp message with image/jpg or image/png header #1173

Closed fundef1 closed 4 years ago

fundef1 commented 4 years ago

Hi, thanks for supplying the world with F3, (coming from symphony this is a breeze to hack something together with)

now more of a question than an issue i guess... how would I send an email with smtp module with an image/png or image/jpg header?

I have some stubborn email clients that show application/octet-stream as an attachment and require image/jpg to show it inline.

As far as i can tell the header is hard-coded in smtp.php $out.='Content-Type: application/octet-stream'.$eol;
but maybe i'm missing something.

thanks!

geniuswebtools commented 4 years ago

It's been requested that you posts questions to the F3 Google group, or there's a slack channel as well.

https://groups.google.com/forum/#!forum/f3-framework

https://fatfreeframework-slack.herokuapp.com/