doulu1544 2017-01-10 10:29
浏览 28
已采纳

使用格式“email”添加附件

Is it possible to generate an email and add this email to another email's attachment?
I have only found ways to add files like pdf or jpeg but not a mail.

EDIT: my problem is that I can't store the email on the server to add it to the attachment

  • 写回答

1条回答 默认 最新

  • duanlei0282 2017-01-10 11:01
    关注

    As the comments say, it's exactly like adding any other attachment, and it's up to you to get the message into a suitable external text file (or string).

    The only differences are that external email messages are usually saved with a .eml extension, and should use the message/rfc822 MIME type, which PHPMailer knows about and will set automatically given a file with a .eml extension.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥15 帮我写一个c++工程