dousong3760 2018-03-15 11:09
浏览 52
已采纳

与bcc无法正常工作的php邮件

I am using below code for sending mail with cc and bcc.

$headers="From: $name <{$fromAddress}>
".
            "Reply-To: info@test.com
".
            "Cc: abc@gmail.com
".
            "BCC: pqr@gmail.com
".
            "MIME-Version: 1.0
".
            "Content-type: text/html; charset=UTF-8";

@mail($toAddres,$subject,$message,$headers,$parameters);

All the things are working fine including reply-to, cc but the bcc is not working.

In the mailbox headers, it is not showing me the bcc mail address. What do I need to fix it?

  • 写回答

2条回答 默认 最新

  • duanpanhuo0618 2018-03-15 11:12
    关注

    You could try with ICC (Invisible Carbon Copy) wish is the second name of BCC.

    By the way, BCC is Blind Carbon Copy. So if you don't see them in your mail it's normal.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥20 求一个会修改Javaweb 代码的,非常简单
  • ¥20 有没有会写mysql的,有偿做个问题
  • ¥20 win11账户锁定时间设为0无法登录
  • ¥45 C#学生成绩管理系统
  • ¥15 VB.NET2022如何生成发布成exe文件
  • ¥30 matlab appdesigner私有函数嵌套整合
  • ¥15 给我一个openharmony跑通webrtc实现视频会议的简单demo项目,sdk为12
  • ¥15 vb6.0使用jmail接收smtp邮件并另存附件到D盘
  • ¥30 vb net 使用 sendMessage 如何输入鼠标坐标
  • ¥15 关于freesurfer使用freeview可视化的问题