Send email with attachment without saving to hard drive before
is it possible to send an email with an image attachement in a "text" format? (like in a ByteArray)
I'ld like to encode an image into an ByteArray (Flash AS3 - PNGencoder) and send it then via PHP to Gmail and others without saving the image to a hard drive before.
I'm totally researching开发者_Go百科 on this so any information is welcome!
Thanks Bob
Yes, with SwiftMailer this is how you do it (or for inline images).
You still have to encode your PNG data, like this.
精彩评论