This question is related to
这个问题与此有关
Google Apps Engine PHP Mail API - $image_data
Google Apps Engine PHP Mail API - $ image_data
I couldnt find any documentation or example on how to send HTML content from a php script hosted on GAE using mail-api.
我找不到任何关于如何使用mail-api从GAE托管的php脚本发送HTML内容的文档或示例。
My challenge is to send a very basic email with a background color or image, a table to tab data, and a header image (all embeded)
我的挑战是发送一个非常基本的电子邮件,其背景颜色或图像,一个表格到标签数据,一个标题图像(所有嵌入)
Could anybody reply with this issue please ? If changes must be done on yaml
don't forget to mention it please ?
有人可以回答这个问题吗?如果必须对yaml进行更改,请不要忘记提及它吗?
1 个解决方案
#1
While not (yet) documented, you can use the standard mail() function to send emails on App Engine. See https://css-tricks.com/sending-nice-html-email-with-php/ for an example on how to send HTML emails.
虽然尚未记录,但您可以使用标准mail()函数在App Engine上发送电子邮件。有关如何发送HTML电子邮件的示例,请参阅https://css-tricks.com/sending-nice-html-email-with-php/。