Re: [PHP] php sendmail_from

2012-01-10 Thread Duken Marga
Actually, you can send an email from explicit email addres without modifying htaccess or php ini. In simple words, PHP uses MTA (like postfix or sendmail) to send email to another email address. An email consist of header, body, and mime (for example an attachment). Sender, receiver, Subject, and o

Re: [PHP] Re: php sendmail_from

2012-01-09 Thread Matijn Woudt
On Mon, Jan 9, 2012 at 8:50 PM, alexus wrote: > using Drupal > If you're using Drupal to send the mail, or any module installed in Drupal, than there are most likely settings in Drupal (module) that allow you to set the from address. If these functions call the mail command with a different From

[PHP] Re: php sendmail_from

2012-01-09 Thread Jim Giner
I guess I'm asking to see your code pertaining to sending the email. Telling us about a couple of ini settings doesn't really present us a picture of your problem. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php sendmail_from

2012-01-09 Thread alexus
using Drupal On Mon, Jan 9, 2012 at 2:48 PM, Jim Giner wrote: > And how are you generating the email? > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- http://alexus.org/ -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] php sendmail_from

2012-01-09 Thread alexus
do you know if Drupal uses that too? On Mon, Jan 9, 2012 at 10:16 PM, Fatih P wrote: > On Mon, 2012-01-09 at 13:53 -0500, alexus wrote: >> I need to change sendmail from field, I added following to my .htaccess: >> >> php_value sendmail_from 'x...@xxx.xxx' >> >> and tried to send out an email, bu

[PHP] Re: php sendmail_from

2012-01-09 Thread Jim Giner
And how are you generating the email? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php sendmail_from

2012-01-09 Thread Fatih P
On Mon, 2012-01-09 at 13:53 -0500, alexus wrote: > I need to change sendmail from field, I added following to my .htaccess: > > php_value sendmail_from 'x...@xxx.xxx' > > and tried to send out an email, but it still comes from apache@FQDN > > through phpinfo(); I see as local value my email addr

[PHP] php sendmail_from

2012-01-09 Thread alexus
I need to change sendmail from field, I added following to my .htaccess: php_value sendmail_from 'x...@xxx.xxx' and tried to send out an email, but it still comes from apache@FQDN through phpinfo(); I see as local value my email address x...@xxx.xxx -- http://alexus.org/ -- PHP General Maili

Re: [PHP] Sendmail_from

2006-09-07 Thread Stut
D Sledge wrote: OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) web server: Apache 2.0 php version: 4.3.9 When I use the function mail(), the the from email address that is used is apache@. I tried setting the sendmail_from directive in php.ini and the ServerAdmin dir

Re: [PHP] Sendmail_from

2006-09-06 Thread Chris
D Sledge wrote: OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) web server: Apache 2.0 php version: 4.3.9 When I use the function mail(), the the from email address that is used is apache@. I tried setting the sendmail_from directive in php.ini and the ServerAdmin dir

[PHP] Sendmail_from

2006-09-06 Thread D Sledge
OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) web server: Apache 2.0 php version: 4.3.9 When I use the function mail(), the the from email address that is used is apache@. I tried setting the sendmail_from directive in php.ini and the ServerAdmin directive in httpd.co

Re: [PHP] "sendmail_from" not set in php.ini or custom "From:" header missing

2004-07-16 Thread Curt Zirzow
* Thus wrote Wudi: > Script: > mail('[EMAIL PROTECTED]', 'Subject', 'Message', "From: [EMAIL PROTECTED]"); > ?> > > Result: > Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom > "From:" header missing in D:\ApacheData\htdocs\downloader\mail.php on line 2 > > Why does

Re: [PHP] "sendmail_from" not set in php.ini or custom "From:" header missing

2004-07-16 Thread Justin Patrin
On Sat, 17 Jul 2004 12:16:25 +0800, Wudi <[EMAIL PROTECTED]> wrote: > Script: > mail('[EMAIL PROTECTED]', 'Subject', 'Message', "From: [EMAIL PROTECTED]"); > ?> > > Result: > Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom > "From:" header missing in D:\ApacheData\h

[PHP] "sendmail_from" not set in php.ini or custom "From:" header missing

2004-07-16 Thread Wudi
Script: Result: Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\ApacheData\htdocs\downloader\mail.php on line 2 Why does the mail() not work? How can I send a e-mail without SMTP?