CodeIgniter 邮件 +进出口4
我已经在我的 Ubuntu 机器上设置了 Exim4。
我已经开始学习 CodeIgniter,当通过电子邮件库发送电子邮件时,如果我询问调试状态,我会得到以下信息。我想看起来不错,但我从未在 [电子邮件受保护]。也不适用于 [email protected],有人有想法吗?
220 Concept-IT ESMTP Sendmail 8.14.3/8.14.3/Debian-9.1ubuntu1; Fri, 3 Sep 2010 18:15:59 +0200; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
hello: 250-Concept-IT Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
from: 250 2.1.0 ... Sender ok
to: 250 2.1.5 ... Recipient ok
data: 354 Enter mail, end with "." on a line by itself
250 2.0.0 o83GFx3a021848 Message accepted for delivery
quit: 221 2.0.0 Concept-IT closing connection
Your message has been successfully sent using the following protocol: smtp
User-Agent: CodeIgniter
Date: Fri, 3 Sep 2010 18:15:59 +0200
From: "Concept-IT"
Return-Path:
To: [email protected]
Subject: =?utf-8?Q?Uw_nieuw_wachtwoord_voor_Concept-IT_CRM?=
Reply-To: "[email protected]"
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Uw gebruikersnaam is: liesbeth en uw wachtwoord is: 6ZiKJxD.
i've set up Exim4 on my Ubuntu machine.
I've started learning CodeIgniter and when sending an e-mail through there email library i get the following if I ask for the debug status. Looks OK i suppose, but i never receive e-mail on [email protected]. Also doesn't work for [email protected], anyone has an idea?
220 Concept-IT ESMTP Sendmail 8.14.3/8.14.3/Debian-9.1ubuntu1; Fri, 3 Sep 2010 18:15:59 +0200; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
hello: 250-Concept-IT Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
from: 250 2.1.0 ... Sender ok
to: 250 2.1.5 ... Recipient ok
data: 354 Enter mail, end with "." on a line by itself
250 2.0.0 o83GFx3a021848 Message accepted for delivery
quit: 221 2.0.0 Concept-IT closing connection
Your message has been successfully sent using the following protocol: smtp
User-Agent: CodeIgniter
Date: Fri, 3 Sep 2010 18:15:59 +0200
From: "Concept-IT"
Return-Path:
To: [email protected]
Subject: =?utf-8?Q?Uw_nieuw_wachtwoord_voor_Concept-IT_CRM?=
Reply-To: "[email protected]"
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Uw gebruikersnaam is: liesbeth en uw wachtwoord is: 6ZiKJxD.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如您可以在我的评论中看到的,我的问题来自我的 ISP。这不允许我从我的服务器发送邮件。
我按照以下教程使 Exim4 通过 Google Mail 发送邮件: http://www.manu-j.com/blog/wordpress-exim4-ubuntu-gmail-smtp/。
就像魅力一样。
As you can read in my comments my problem comes from my ISP. Which doesn't allow me to send mail from my server.
I've followed the following tutorial to make Exim4 send mail through Google Mail: http://www.manu-j.com/blog/wordpress-exim4-ubuntu-gmail-smtp/.
Works like a charm.