开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜