FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » envelop-From of the mail transmitted is not good.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
envelop-From of the mail transmitted is not good. [message #23986] Thu, 07 April 2005 04:26 Go to next message
elf2000 is currently offline  elf2000   Japan
Messages: 22
Registered: July 2004
Location: Japan
Karma: 0
Junior Member
http://www.php.net/manual/en/function.mail.php
envelop-from is not specified with a mail() function.
as a result, envelop-from is set to webserver.

Please refer to Example 3 of the following URL.
http://www.php.net/manual/en/function.mail.php


--
Tadashi Jokagi

Re: envelop-From of the mail transmitted is not good. [message #24006 is a reply to message #23986] Thu, 07 April 2005 21:23 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
And? The forum set's the FROM address via the header for all e-mails it sends...

FUDforum Core Developer
Re: envelop-From of the mail transmitted is not good. [message #24374 is a reply to message #24006] Tue, 26 April 2005 09:58 Go to previous messageGo to next message
elf2000 is currently offline  elf2000   Japan
Messages: 22
Registered: July 2004
Location: Japan
Karma: 0
Junior Member
If envelop-from is not correct, error mail is not delivered correctly.

Please try the following.
This is the example of a procedure which transmits error mail.

==========cut here==========cut here==========
$ telnet smtp-server 25
HELO <my-fqdn>
MAIL FROM: <envfrom(at)example(dot)com>
RCPT TO: <notexist(at)example(dot)com>
DATA
From: <mailfrom(at)example(dot)com>
To: <notexist(at)example(dot)com>
Subject: test

test

.
==========cut here==========cut here==========

When e-mail is transmitted as this example, error mail is delivered to <mailfrom(at)example(dot)com>.
However, when envelop-from is <apache(at)example(dot)com>, probably error mail will lost.


--
Tadashi Jokagi

Re: envelop-From of the mail transmitted is not good. [message #24379 is a reply to message #24374] Tue, 26 April 2005 15:55 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The mail from is a configuration parameter in FUDforum, the PHP's default is not being used.

FUDforum Core Developer
Re: envelop-From of the mail transmitted is not good. [message #24384 is a reply to message #24379] Tue, 26 April 2005 18:30 Go to previous messageGo to next message
elf2000 is currently offline  elf2000   Japan
Messages: 22
Registered: July 2004
Location: Japan
Karma: 0
Junior Member
OK,
FUDForum specifies mailfrom.
However, I am writing "FUDForum does not specify envelop-from."
Is this understood?


--
Tadashi Jokagi

Re: envelop-From of the mail transmitted is not good. [message #24397 is a reply to message #24384] Tue, 26 April 2005 23:54 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It does not need to do that, since the "sender" from e-mail is always valid specified by the admin in the forum settings.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Multibyte character message broken.
Next Topic: Value too long
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 11:26:10 GMT 2024

Total time taken to generate the page: 0.02503 seconds