PHP SMTP配置(Lotus Domino) [英] PHP SMTP Configuration (Lotus Domino)
问题描述
即使在网上搜索了几个小时之后,我也无法获得我的PHP配置
工作。
我安装了Apache和PHP。现在我想在PHP中使用mail()函数
。在Linux服务器上我运行Lotus Domino作为SMTP服务器
我不知道如何配置PHP以使用Lotus Domino SMTP服务器。
我使用设置SMTP = localhost来访问Domino服务器,但是这个
不起作用。此外,如果我将其更改为DNS条目,它不起作用。
为了测试它我使用一个简单的mail()调用(使用相应的
参数。这个函数确实返回false而不是任何错误,所以我有
没有线索在哪里可以进一步查看。
如果有人能指出我的话方向,我会非常感激。
谢谢,
克里斯
Hi,
Even after searching the web for hours, I can''t get my PHP configuration
work.
I have Apache and PHP installed. Now I want to use the mail() function
in PHP. On the Linux server I have running Lotus Domino as SMTP server
and I don''t know how to configure PHP to use the Lotus Domino SMTP server.
I use the setting SMTP=localhost to access the Domino server, but this
does not work. Also if I change it to a DNS entry, it does not work.
For testing it I use a simple mail() call (with the appropriate
parameters. This function does return false and not any error, so I have
no clue where to further look at.
If anybody could point me in a direction, I would appreciate it very much.
Thanks,
Chris
推荐答案
你好Chris,
周一,2004年3月1日18:46:00 +0100,Christian Patterer
< sc ***** *@gmx.at>写道:
Hi Chris,
On Mon, 01 Mar 2004 18:46:00 +0100, Christian Patterer
<sc******@gmx.at> wrote:
即使在网上搜索了几个小时之后,我也无法获得我的PHP配置>工作。
我安装了Apache和PHP。现在我想在PHP中使用mail()函数。在Linux服务器上我运行Lotus Domino作为SMTP服务器
我不知道如何配置PHP以使用Lotus Domino SMTP服务器。
我使用设置SMT P = localhost来访问Domino服务器,但是这个
不起作用。此外,如果我将其更改为DNS条目,它不起作用。
如何从普通电子邮件客户端访问SMTP服务器?
Jochen
为了测试它我使用一个简单的邮件()调用(带有相应的
参数。这个函数确实返回false而不是任何错误,所以我没有任何线索可以进一步查看。
如果有人可以指出我朝着一个方向,我会非常感激。
谢谢,
Chris
Hi,
Even after searching the web for hours, I can''t get my PHP configuration
work.
I have Apache and PHP installed. Now I want to use the mail() function
in PHP. On the Linux server I have running Lotus Domino as SMTP server
and I don''t know how to configure PHP to use the Lotus Domino SMTP server.
I use the setting SMTP=localhost to access the Domino server, but this
does not work. Also if I change it to a DNS entry, it does not work.
How do you access you SMTP server from a normal email client?
Jochen
For testing it I use a simple mail() call (with the appropriate
parameters. This function does return false and not any error, so I have
no clue where to further look at.
If anybody could point me in a direction, I would appreciate it very much.
Thanks,
Chris
-
Jochen Daum - Cabletalk Group Ltd.
PHP DB编辑工具包 - 用于构建的PHP脚本
数据库编辑界面。
http://sourceforge.net/projects/phpdbedittk/
>
您好,
2004年3月1日下午02:46,Christian Patterer写道:
Hello,
On 03/01/2004 02:46 PM, Christian Patterer wrote:
即使在网上搜索了几个小时之后,我不能让我的PHP配置工作。
我有Apache和PHP安装d。现在我想在PHP中使用mail()函数
。在Linux服务器上我运行Lotus Domino作为SMTP服务器
我不知道如何配置PHP以使用Lotus Domino SMTP服务器。
我使用设置SMTP = localhost访问Domino服务器,但这
不起作用。此外,如果我将其更改为DNS条目,它不起作用。
为了测试它我使用一个简单的mail()调用(具有相应的
参数。此函数确实返回false和没有任何错误,所以我不知道在哪里可以进一步查看。
如果有人能指出我的方向,我会非常感激。
Even after searching the web for hours, I can''t get my PHP configuration
work.
I have Apache and PHP installed. Now I want to use the mail() function
in PHP. On the Linux server I have running Lotus Domino as SMTP server
and I don''t know how to configure PHP to use the Lotus Domino SMTP server.
I use the setting SMTP=localhost to access the Domino server, but this
does not work. Also if I change it to a DNS entry, it does not work.
For testing it I use a simple mail() call (with the appropriate
parameters. This function does return false and not any error, so I have
no clue where to further look at.
If anybody could point me in a direction, I would appreciate it very much.
>
您使用的是Windows吗?通过SMTP传送仅适用于Windows。在
Linux / Unix中使用sendmail程序。
无论如何,即使在Windows下,SMTP传递失败反馈也是蹩脚的。
您可能想尝试这个替代类。它附带一个包装器
功能名为smtp_mail(),模拟mail()函数,但始终
通过SMTP将消息传递到您配置的服务器,如果您使用Windows或Linux / Unix,则单独使用
。
您可以启用调试以查看SMTP对话框,以便理解为什么
消息不是熟食vered。
http://www.phpclasses.org/mimemessage
您还需要这个用于实际交付:
http://www.phpclasses.org/smtpmessage
-
问候,
Manuel Lemos
PHP类 - 免费准备使用用PHP编写的OOP组件
http://www.phpclasses.org/
PHP评论 - PHP的评论书籍和其他产品
http://www.phpclasses.org/reviews/
Metastorage - 数据对象关系映射层生成器
http://www.meta-language.net/metastorage。 html
Are you using Windows? Delivering via SMTP only works on Windows. In
Linux/Unix it is used sendmail program.
Anyway, even under Windows, SMTP delivery failure feedback is lame.
You may want to try this alternative class. It comes with a wrapper
function named smtp_mail() that emulates the mail() function but always
deliver messages via SMTP to a server that you configure, independently
if you use Windows or Linux/Unix.
You can enable debugging to see the SMTP dialog and so understand why
the messages are not being delivered.
http://www.phpclasses.org/mimemessage
You also need this for the actual delivery:
http://www.phpclasses.org/smtpmessage
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
您好Jochen,
Hi Jochen,
您如何从普通的电子邮件客户端访问SMTP服务器?
How do you access you SMTP server from a normal email client?
我正在使用Lotus Notes。我认为Lotus Notes的处理可能比使用Outlook或任何其他正常的处理略有不同。 SMTP
客户端。
- Chris
I am using Lotus Notes. I think the handling from Lotus Notes might be
a little bit different than with Outlook or any other "normal" SMTP
client.
- Chris
这篇关于PHP SMTP配置(Lotus Domino)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!