对于我的生活,我似乎无法弄清楚这一点:
https://developers.google.com/appengine/docs/php/mail/#PHP_Sending_mail_with_attachments
当您向下滚动到有关添加附件的部分时,它要求
' image.jpg','图片数据',$ image_content_id
图像数据'它们是什么意思? &安培; ' Image_content_id'?
任何帮助将不胜感激!
答案 0 :(得分:1)
最好查看源代码以获取更多信息。
* @param string $filename Filename of the attachment.
* @param mixed $data File data of the attachment.
* @param string $content_id Optional Content-ID header value of the
* attachment. Must be enclosed by angle brackets (<>).
您可以将Image_content_id留空。
以下是其最新版本的网址: