netbus888 发表于 2011-5-2 23:07:09

求问关于emial的问题

本帖最后由 netbus888 于 2011-5-2 23:08 编辑

最近在做邮件收发 我用的sohu的smtp服务 发邮件速度很快可是就是有一个问题 为啥发送不到gmail呢 只要是gmail的邮箱 发几次都不行
ci的email类里我把一些发送信息加到了log里查看 一切正常 如下

DEBUG - 2011-05-02 22:53:38 --> debug_email():begin_send:netbus888@gmail.com__time:05-02 10:53:38
DEBUG - 2011-05-02 22:53:38 --> Email Class Initialized
DEBUG - 2011-05-02 22:53:38 --> File loaded: application/views/email/email.php
DEBUG - 2011-05-02 22:53:39 --> Language file loaded: language/chinese/email_lang.php
DEBUG - 2011-05-02 22:53:39 --> email_error():msg:220 95.62 ESMTP ready

__vars:
DEBUG - 2011-05-02 22:53:59 --> email_error():msg:250 2.0.0 Ok: queued as D58B86FB283

__vars:
DEBUG - 2011-05-02 22:53:59 --> email_error():msg:email_sent__vars:smtp
DEBUG - 2011-05-02 22:53:59 --> debug_email():over_send:netbus888@gmail.com__time:05-02 10:53:59


补充下 emial_error不是错误 是我加的调试好看 后面的关于smtp的都是正确的代码 和其他邮箱发送正确的时候的信息一样

hk_yuhe 发表于 2011-5-3 01:27:20

有可能是安全问题吧,gmail拒收。也不太清楚,帮顶~~

moonster 发表于 2011-5-3 08:27:31

使用本地email服务器发送试试,使用mercury发送gmail邮箱正常

netbus888 发表于 2011-5-3 14:58:29

终于想出了个缺德办法 看他在那邮箱 在哪就用哪的smtp给他发~~ 不过gmail貌似拒收好多smtp啊 sohu 163都拒收~~

mi19901218 发表于 2013-3-29 11:26:44

本帖最后由 mi19901218 于 2013-3-29 11:28 编辑

Unable to open a socket to Sendmail. Please check settings.
Unable to send email using PHP Sendmail. Your server might not be configured to send mail using this method.

User-Agent: CodeIgniter
Date: Fri, 29 Mar 2013 11:18:37 +0800
From: =?iso-8859-1?Q?=e7=8e=8b=e7=a7=98?=
Return-Path:
To: example@**.com
Cc: example@**.com
Bcc: example@**.com
Subject: =?iso-8859-1?Q?=e6=88=91=e5=9c=a8=e7=a0=94=e7=a9=b6_ci?=
Reply-To: "mi19901218@126.com"
X-Sender: example@**.com
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <example@**.com>
Mime-Version: 1.0


Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


为什么发送不出去呢
页: [1]
查看完整版本: 求问关于emial的问题