首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Zend_Mail的SMTP协议问题

Zend_Mail的SMTP协议问题
EN

Stack Overflow用户
提问于 2009-12-07 20:31:43
回答 1查看 1.1K关注 0票数 0

我试图通过GMail发送一些电子邮件,而CC和BCC线路没有收到电子邮件。我已经用进化(Linux )测试了GMail SMTP,虽然我无法获得通信的原始转储,因为它是通过SSL进行的。

以下是来自Zend_Mail的通信日志:

代码语言:javascript
运行
复制
220 mx.google.com ESMTP 22sm2669783yxe.39
EHLO localhost
250-mx.google.com at your service, [67.152.160.2]
250-SIZE 35651584
250-8BITMIME
250-AUTH LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250 PIPELINING
AUTH LOGIN
334 VXNlcm5hbWU6
[removed]
334 UGFzc3dvcmQ6
[removed]
235 2.7.0 Accepted
MAIL FROM:[removed]
250 2.1.0 OK 22sm2669783yxe.39
RCPT TO:<zf-mail-test-1@mailinator.com>
250 2.1.5 OK 22sm2669783yxe.39
RCPT TO:<zf-mail-test-2@mailinator.com>
250 2.1.5 OK 22sm2669783yxe.39
RCPT TO:<zf-mail-test-3@mailinator.com>
250 2.1.5 OK 22sm2669783yxe.39
DATA
354  Go ahead 22sm2669783yxe.39
From: [removed]
To: zf-mail-test-1@mailinator.com
Cc: zf-mail-test-2@mailinator.com
Subject: My Test Subject
Date: Mon, 07 Dec 2009 14:21:49 -0600
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
MIME-Version: 1.0

My test body
.
250 2.0.0 OK 1260217313 22sm2669783yxe.39

我对SMTP协议还不太了解,不知道Zend_Mail需要做什么才能让CC/BCC线路正常工作。

EN

回答 1

Stack Overflow用户

发布于 2009-12-09 00:51:35

请参阅:http://forums.codewalkers.com/pear-packages-47/email-bcc-header-confusion-840705.html

特别是:

使用SMTP的

,所有收件人必须在发送中作为param 1列出,并且To/Cc/Bcc标头的内容对发送的内容没有任何影响--它们只是接收者的信息。

在一个项目中,我做了一段时间前,我必须发送电子邮件给每个BCC的收件人。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/1862701

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档