你如何在mail()中强制Received:变量? [英] how do you force Received: variable in mail()?
问题描述
在这个小组的帮助下,我能够改变我的Return-Path参数
在邮件()发送的电子邮件的完整标题中看到。
现在我仍然在参数中看到我的userID,如我在我发送的电子邮件的完整
标题中所示。
收到:(来自userID) @localhost)来自mydomain.com
任何想法?
再次感谢!
" NotGiven" <无**** @ nonegiven.net>在消息中写道
新闻:XZ ***************** @ bignews6.bellsouth.net ...随着在这个组的帮助下,我能够更改在mail()发送的电子邮件的完整标题中看到的Return-Path
参数。
现在我仍然在参数中看到我的userID这里显示的是我发送的电子邮件的完整标题。
收到:(来自userID @ localhost)mydomain.com
有什么想法?
再次感谢!
我正在开发一个新的邮件脚本,将MX邮件直接发送到
目标邮件服务器。
(在我的水肺潜水之间,我会完成,代码并不难,但
与良好的布局相结合)
这将解决问题,稍后在我的网站上查找。
-
Mike Bradley
http://gzen.myhq.info - 免费在线php工具
> " NotGiven" <无**** @ nonegiven.net>在消息中写道新闻:XZ ***************** @ bignews6.bellsouth.net ...随着在这个小组的帮助下,我能够改变我的Return-Path
参数在用mail()发送的电子邮件的完整标题中看到。
现在我仍然在参数中看到我的userID,如我所发送的电子邮件标题中所示。
收到:(来自userID @ localhost)mydomain.com
有什么想法吗?
再次感谢!
ok,新的MX邮件脚本已经完成,你可以在这里找到它:
http:// www .gzentools.com / snippetview ... l& v = mxmail.php
-
Mike Bradley
http://www.gzentools.com - 免费在线php工具
感谢。我不太了解PHP以了解它,但它看起来很像
slike我可能会尝试理解它。
我需要循环通过数据库中的名称并单独向每个
发送电子邮件。我想我可以将所有名字发送到一个数组并将其传递给
函数,并添加一个循环/ foreach。
再次感谢。
" CountScubula" < me@scantek.hotmail.com>在消息中写道
新闻:Qg *************** @ newssvr27.news.prodigy.com。 .." NotGiven" <无**** @ nonegiven.net>在消息中写道
新闻:XZ ***************** @ bignews6.bellsouth.net ...在这个小组的帮助下,我能够改变我的Return-Path
参数在用mail()发送的电子邮件的完整标题中看到。
现在我仍然在我的完整
标题中看到我的参数中的userID,如我所发送的电子邮件标题中所示。
收到:(来自userID @ localhost)mydomain.com
有什么想法吗?
再次感谢!
我正在开发一个新的邮件脚本,将MX邮件发送到
目的地邮件服务器。
(在我的水肺潜水之间,我会完成,代码并不难,但
提出了良好的布局)
这将解决问题,稍后在我的网站上查找。
- Mike Bradley
http://gzen.myhq.info - 免费在线php工具
With the help from this group, I was able to change my Return-Path parameter
seen in the full headers of email sent with mail().
Now I still see my userID in the parameter as shown here seen in my full
headers of my email sent.
Received: (from userID@localhost) by mydomain.com
Any ideas?
Thanks again!解决方案"NotGiven" <no****@nonegiven.net> wrote in message
news:XZ*****************@bignews6.bellsouth.net...With the help from this group, I was able to change my Return-Path parameter seen in the full headers of email sent with mail().
Now I still see my userID in the parameter as shown here seen in my full
headers of my email sent.
Received: (from userID@localhost) by mydomain.com
Any ideas?
Thanks again!
I am working on a new piece of mailer script, that will MX mail right into
the destination mail server.
(in between my scuba diving, I will finishit, the code is not hard, but
comming up with a good layout is)
This will address the problem, look for it on my site later.
--
Mike Bradley
http://gzen.myhq.info -- free online php tools
> "NotGiven" <no****@nonegiven.net> wrote in messagenews:XZ*****************@bignews6.bellsouth.net...With the help from this group, I was able to change my Return-Path
parameterseen in the full headers of email sent with mail().
Now I still see my userID in the parameter as shown here seen in my full
headers of my email sent.
Received: (from userID@localhost) by mydomain.com
Any ideas?
Thanks again!
ok, new MX mailing script is done, you can find it here:
http://www.gzentools.com/snippetview...l&v=mxmail.php
--
Mike Bradley
http://www.gzentools.com -- free online php tools
thanks. I don''t know enough about PHP to understand it all but it look
slike I might be able try to understand it.
I need to loop through names in a database and send an email to each
indivdually. I suppose I could send all names to an array and pass that to
the function, and add a loop/foreach.
Thanks again.
"CountScubula" <me@scantek.hotmail.com> wrote in message
news:Qg***************@newssvr27.news.prodigy.com. .."NotGiven" <no****@nonegiven.net> wrote in message
news:XZ*****************@bignews6.bellsouth.net...With the help from this group, I was able to change my Return-Path
parameterseen in the full headers of email sent with mail().
Now I still see my userID in the parameter as shown here seen in my full
headers of my email sent.
Received: (from userID@localhost) by mydomain.com
Any ideas?
Thanks again!
I am working on a new piece of mailer script, that will MX mail right into
the destination mail server.
(in between my scuba diving, I will finishit, the code is not hard, but
comming up with a good layout is)
This will address the problem, look for it on my site later.
--
Mike Bradley
http://gzen.myhq.info -- free online php tools
这篇关于你如何在mail()中强制Received:变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!