[Support] php cgi mail - errormessage an mich - nicht an httpd at h02.hostsharing.net
irene kühne
irene.kuehne at mued.de
Tue Dec 11 16:50:26 CET 2007
Hallo Friedhelm, Paul, Support
[..]
> > Die Schreibweise
> >
> > sendmail_path = /usr/sbin/sendmail -t -i -f absender at example.com
> >
> > hat auf Anhieb funktioniert.
>
> Du hast das in Deine ini-Datei geschrieben?
Ja, in die ~/doms/example.com/php-cgi-fcgi.ini
> > Ich habe sofort die Kontrollmail an mich und 2 autom.
> > "Undelivered Mail Returned to Sender"
> > für 2 absichtlich falsche mail Adressen bekommen.
> > Dies Problem ist damit schon mal geklärt!
>
> Sollte auch entsprechend Example#3 von
> http://de.php.net/manual/en/function.mail.php
> aus nem Script funktionieren.
>
> Grüße
> Friedhelm
Das war auch noch interessant mit Example#3.
So kann in jedem script eine andere Adressatin für Envelope-From / die autom.
Rückantwort stehen. Das ist bestimmt manchmal ganz praktisch.
So klappt es damit bei mir:
Codeschnipsel: ...
$rueckantwort='-f absender at example.com'; // leerzeichen nach -f !!!
if (@mail($empfaenger, $betreff, $testtext, $sender, $rueckantwort))...
Alles Gute, Irene
Atomkraftwerke abschalten - ganz einfach!
Nur noch atomfreien Strom kaufen -
wenn das alle tun...
www.ews-schoenau.de
More information about the Support
mailing list