Re: Re[2]: [PHP-WIN] Return-path in head of message?
| From: | Ketan | Date: | Sun, 19 Nov 2000 22:47:27 +0000 |
| Subject: | Re: Re[2]: [PHP-WIN] Return-path in head of message? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3980@lists.php.net to get a copy of this message | ||
Yes, I tried it long time ago, but in this way, mail server write to its log file
"Job has invalid or missig Reply-to: information
Notification discarded - potential loop"
...and no message will arrive :-(((
Even if the row "sendmail_from" is deleted (in php.ini) - PHP returns error (missing
sendmail_from)
and mail can't be send... :-(
I don't know, what I can do.
I cannot edit php.ini file directly from runnig script, because there IUSER has no write access...
:-(
Thanks for your suggestion.
Ketan
*********** Puvodni zprava ***********
Dne 13.11.2000 v 19:12 hodin Pablo Vera napsal(a):
>Gonzalo, Ketan:
>
>If you leave the sendmail_setting blank, the Return-Path: will be
>displayed as <> and you can specify a From: in the headers parameter.
>
>In PHP.INI:
>
> [mail function]
> sendmail_from = ; for Win32 only
>
>
>Saludos,
>Pablo Vera
>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
>Monday, November 13, 2000, 5:01:56 PM, Gonzalo wrote:
>
>GV> This would be interesting, I would like to do it too. I have thought
>GV> that if you open php.ini from a php script, you can change it, but if
>GV> php is loaded as a module, it won't be read until the web server is
>GV> restarted, so you can't change "from" addresses for every mail. Is
>GV> that so?
>
>GV> Gonzalo.
>
>>> Hi All!
>
>>> Knows anybody how to change (one by one for each next mail)
>>> variable in php.ini file from my script?
>
>>> sendmail_from = ... ;for win32 only
>
>>> Everytime, I use function MAIL(), there in head of message is row "Return-path:
>>> ..."
>>> but I can not change it - every mail (even if the 4th parameter in mail() function
>>> is specified with "From: ...anothermail...\nReturn-path: ...anothermail...")
>>> has
>>> in header "Return-path: ..." (with the e-mail addres specified in php.ini).
>
>>> Please, help me!!!!!!
>
>>> Thanks
>>> Ketan