duanque2413 2014-05-12 14:44
浏览 101

通过CakeEmail发送的电子邮件显示Outlook中的附件图标,即使没有发送附件也是如此

I have using CakeEmail to send email but when I send Html and text email then the email show the attachment icon in the outlook .

I found that it is because of header Content-type: multipart/mixed; .

But it should be Content-Type:multipart/aternative;

I tried to override it by using $Email->setHeaders();

But it didn't changed.

Please suggest how do I change the Content-Type header in CakeEmail.

  • 写回答

1条回答 默认 最新

  • doutan3463 2014-05-12 14:55
    关注

    Outlook will show the paperclip icon only there is an attachment, even if you cannot see it through the Outlook UI.

    Are you sure there are no attachments? Take a look at the message with OutlookSpy: select the message, click IMessage button, go to the GetAttachmentTable tab.

    评论

报告相同问题?

悬赏问题

  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误
  • ¥15 用visual studi code完成html页面
  • ¥15 聚类分析或者python进行数据分析
  • ¥15 三菱伺服电机按启动按钮有使能但不动作
  • ¥15 js,页面2返回页面1时定位进入的设备
  • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复