| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| He I want to send e:Mail from PHP script How to configure server to send proper 'from' parameter (but for two domails mydomain1.com and mydomail2.com) I want to send mail from script: mail($to, $subject, $txt, $headers); My mail is rejested by server who says that is wrong domain for: www-data@debian If I change hostname for domain1.com - is K but I nead two domains - How to setum PHP or sendmail? - how to send infomation from script that I send from domain1.com or domain1.com? -- I use debian sendmail and PHP --- |
|
#2
| |||
| |||
| On Fri, 29 Aug 2008, Piotr wrote: > He > I want to send e:Mail from PHP script > How to configure server to send proper 'from' parameter > (but for two domails mydomain1.com and mydomail2.com) > This is the sendmail MTA group, not the php howto for mail() There are a myriad of forums out there for php for which you can ask on. -- Cheers Res "The hopes we had, were much to high, way out of reach, but we have to try, no need to hide, no need to run, cause all the answers come one by one. The game will never be over, because we're keeping the dream alive" -Freiheit |
|
#3
| |||
| |||
| On Fri, 29 Aug 2008 22:21:28 +0200, "Piotr" <xdfg@gg.pl> wrote: >He >I want to send e:Mail from PHP script >How to configure server to send proper 'from' parameter >(but for two domails mydomain1.com and mydomail2.com) > > >I want to send mail from script: >mail($to, $subject, $txt, $headers); Use: mail($to, $subject, $txt, $headers,"-f".$envfrom); Mit freundlichen Grüßen Frank-Christian Krügel |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.