duanque2413
duanque2413
2014-05-12 14:44

通过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 doutan3463 7年前

    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.

    点赞 评论 复制链接分享

相关推荐