【问题标题】:CodeIgniter Mail + Exim4CodeIgniter 邮件 + Exim4
【发布时间】:2010-09-03 16:28:05
【问题描述】:

我已经在我的 Ubuntu 机器上设置了 Exim4。

我已经开始学习 CodeIgniter,通过那里的电子邮件库发送电子邮件时,如果我询问调试状态,我会得到以下信息。我想看起来不错,但我从未在 jandante@telenet.be 上收到电子邮件。也不适用于 jandante.meulemeester@gmail.com,有人有想法吗?

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: jandante@telenet.be
Subject: =?utf-8?Q?Uw_nieuw_wachtwoord_voor_Concept-IT_CRM?=
Reply-To: "info@concept-it.be" 
X-Sender: info@concept-it.be
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <4c811f3f98626@concept-it.be>
Mime-Version: 1.0


Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

Uw gebruikersnaam is: liesbeth en uw wachtwoord is: 6ZiKJxD.

【问题讨论】:

  • 我现在看到它仍在使用 sendmail(以前安装过,现在我有 Exim4)。但还是同样的问题,它说电子邮件已发送,但我没有收到任何东西。新的输出可以在这里找到:pastebin.com/qu9zx074
  • 进一步调查 (/var/log/mail.log) 得知我的 ISP (TELENET) 不允许我从自己的服务器发送邮件。我将看看如何设置服务器以通过 Google Mail 发送邮件。

标签: email codeigniter exim4


【解决方案1】:

正如您在我的 cmets 中看到的那样,我的问题来自我的 ISP。这不允许我从我的服务器发送邮件。

我按照以下教程使 Exim4 通过 Google Mail 发送邮件:http://www.manu-j.com/blog/wordpress-exim4-ubuntu-gmail-smtp/

像魅力一样工作。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2010-09-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-06
    • 2016-05-27
    • 2016-03-29
    • 1970-01-01
    相关资源
    最近更新 更多