首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用swift mailer (php)发送邮件到gforge电子邮件网关,在行尾使用等号(=)

使用swift mailer (php)发送邮件到gforge电子邮件网关,在行尾使用等号(=)
EN

Stack Overflow用户
提问于 2011-03-21 14:34:21
回答 2查看 1.4K关注 0票数 0

现在,我对gForge有了另一个问题。

我在我们的内部网中有一个表单,用于在我们的gforge系统中创建新的跟踪器。我们使用Kohana和Swift Mailer发送smtp电子邮件。

这是我得到的(我把邮件以密件抄送给我自己):

代码语言:javascript
复制
Received: from 192.168.150.250 (192.168.150.250) by local
 (192.168.50.10) with Microsoft SMTP Server id 15.1.280.1; Wed, 16 Mar 2011
 08:51:40 +0100
Message-ID: <1300261898.4d80d7e6@192.168.150.250>
Date: Wed, 16 Mar 2011 08:51:38 +0100
Subject: Test_Issue Jieha (tracker-17)
From: <test@website.de>
To: <gforge-gateway@gforge.local>
BCC: <test@website.de>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Return-Path: test@website.de
X-MS-Exchange-Organization-AuthSource: local
X-MS-Exchange-Organization-AuthAs: Anonymous
MIME-Version: 1.0

priority:4
assignees: wollmannc
stardate: 03/16/2011
end date: 03/17/2011
Von user:
Name: Christian
email: meine@email.de

Bemerkung:
mein bemerkungstext
testinput: mein input

所以一切看起来都很好。但是Gforge告诉我:

代码语言:javascript
复制
Received: from local (192.168.200.19) by
 local (192.168.50.10) with Microsoft SMTP Server id
 15.1.280.1; Wed, 16 Mar 2011 08:51:42 +0100
Received: from gforge.local (centos5 [127.0.0.1])    by
 gforge.local (Postfix) with ESMTP id 5DBDED48174    for
 <test@website.de>; Wed, 16 Mar 2011 08:51:42 +0100 (CET)
Received: (from nobody@localhost)    by gforge.local
 (8.13.8/8.13.8/Submit) id p2G7pgvZ004723;    Wed, 16 Mar 2011 08:51:42 +0100
Date: Wed, 16 Mar 2011 08:51:42 +0100
From: <noreply@gforge.local>
Message-ID: <201103160751.p2GgvZ004723@gforge.local>
X-Authentication-Warning: gforge.local: nobody set sender to "GForge" <noreply@gforge.local> using -f
To: <test@website.de>
Reply-To: GForge <noreply@gforge.local>
Subject: =?utf-8?B?RmVobyIGJlaWgQmVhcmJlaXRlbiBkZXIgRW1haWw=?=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Return-Path: noreply@gforge.local
X-MS-Exchange-Organization-AuthSource: local
X-MS-Exchange-Organization-AuthAs: Anonymous
MIME-Version: 1.0

Ihre Email konnte nicht verarbeitet werden.
Die Anwendung sagte:

* Start Datum ist Erforderlich
* Schlieungs Datum ist Erforderlich
* Close Date must be > Open Date


Ihre Nachricht war:

priority:4
assignees: wollmannc
stardate: 03/16/2011
end d=
ate: 03/17/2011
Von user:
Name: Christian
email: meine@em=
ail.de

Bemerkung:
mein bemerkungstext
testinput: mei=
n input

它显示“无法处理该电子邮件。应用程序显示:需要开始日期,需要关闭日期”。

注意某些行末尾的等号。我认为这是"quoted printable“的最大行长,还是smtp也限制了行数?但是为什么我可以通过密件抄送收到正确的邮件呢?这应该是gforge收到的同一封邮件,对吧?!Gforge对收到的邮件做了什么吗?

我很困惑:-(我希望你能帮忙。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2011-03-21 14:42:11

看起来您可能遇到了this bug in GForge,它会阻止发送给quoted-printable的邮件被正确解析。

你最好的办法就是告诉Swift不要使用quoted-printable,但我不确定该怎么做。(我实际上想在我自己使用的Swift中做到这一点…)

票数 0
EN

Stack Overflow用户

发布于 2016-10-16 00:16:08

这个叫GForge的家伙。仅供参考,从GForge 6.3开始,您可以创建一个自定义的电子邮件地址,用于将新的跟踪器项直接提交到特定的项目和跟踪器。不再向主题行添加特殊信息。

我们还对电子邮件的后端处理进行了改进,使其与各种电子邮件客户端和交换器的怪癖更加兼容。

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

https://stackoverflow.com/questions/5374530

复制
相关文章

相似问题

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