V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
Moker
V2EX  ›  问与答

无法用 mail 函数发送邮件

  •  
  •   Moker · 2015-01-07 23:45:29 +08:00 · 3625 次点击
    这是一个创建于 3608 天前的主题,其中的信息可能已经有所发展或是发生改变。

    已安装sendmail和mailx php 的path路径也设置了
    mail日志如下:
    http://ww2.sinaimg.cn/mw690/b1209f59gw1eo1dxmjakcj210u0dt1bd.jpg
    好像图片看不清、、
    Jan 7 23:29:40 vultr sendmail[5458]: t07FTeOh005458: from=[email protected], size=448, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
    Jan 7 23:29:40 vultr sendmail[5457]: t07FTepJ005457: to=[email protected], ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30221, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (t07FTeOh005458 Message accepted for delivery)
    Jan 7 23:31:39 vultr sendmail[5516]: t07FVdlf005516: from=root, size=221, class=0, nrcpts=1, msgid=[email protected], relay=root@localhost
    Jan 7 23:31:39 vultr sendmail[5517]: t07FVd9T005517: from=[email protected], size=448, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
    Jan 7 23:31:39 vultr sendmail[5516]: t07FVdlf005516: to=[email protected], ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30221, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (t07FVd9T005517 Message accepted for delivery)
    Jan 7 23:34:05 vultr sendmail[4562]: t07FF5Tm004560: to=[email protected], ctladdr=[email protected] (501/501), delay=00:19:00, xdelay=00:19:00, mailer=esmtp, pri=120340, relay=mx1.qq.com. [103.7.30.40], dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
    Jan 7 23:35:49 vultr sendmail[4644]: t06ElCoe015183: to=[email protected], ctladdr=[email protected] (501/501), delay=1+00:48:37, xdelay=00:19:01, mailer=esmtp, pri=2280348, relay=mx1.qq.com. [103.7.30.40], dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
    Jan 7 23:35:49 vultr sendmail[4644]: t06ErhGd015543: to=[email protected], ctladdr=[email protected] (501/501), delay=1+00:42:06, xdelay=00:00:00, mailer=esmtp, pri=2280348, relay=mx1.qq.com., dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
    Jan 7 23:35:49 vultr sendmail[4644]: t06EghU2015174: to=[email protected], ctladdr=[email protected] (501/501), delay=1+00:53:06, xdelay=00:00:00, mailer=esmtp, pri=2280367, relay=mx1.qq.com., dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
    Jan 7 23:36:07 vultr sendmail[5018]: t07FH795005016: to=[email protected], ctladdr=[email protected] (501/501), delay=00:19:00, xdelay=00:19:00, mailer=esmtp, pri=120340, relay=mx1.qq.com. [103.7.30.40], dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
    Jan 7 23:36:10 vultr sendmail[5022]: t07FHAYe005020: to=[email protected], ctladdr=[email protected] (501/501), delay=00:19:00, xdelay=00:19:00, mailer=esmtp, pri=120340, relay=mx1.qq.com. [103.7.30.40], dsn=4.0.0, stat=Deferred: Connection timed out with mx1.qq.com.
    Jan 7 23:39:57 vultr sendmail[5779]: starting daemon (8.14.4): SMTP+queueing@01:00:00
    Jan 7 23:39:57 vultr sm-msp-queue[5788]: starting daemon (8.14.4): queueing@01:00:00
    Jan 7 23:40:02 vultr sendmail[5795]: t07Fe2H1005795: from=www, size=106, class=0, nrcpts=1, msgid=[email protected], relay=www@localhost
    Jan 7 23:40:02 vultr sendmail[5796]: t07Fe2ID005796: from=[email protected], size=340, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
    Jan 7 23:40:02 vultr sendmail[5795]: t07Fe2H1005795: to=[email protected], ctladdr=www (501/501), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30106, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (t07Fe2ID005796 Message accepted for delivery)

    1 条回复    2015-01-08 10:48:15 +08:00
    Moker
        1
    Moker  
    OP
       2015-01-08 10:48:15 +08:00 via Android
    自己顶一下
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2964 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 14:36 · PVG 22:36 · LAX 06:36 · JFK 09:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.