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
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
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
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
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
And how are you generating the email?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
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
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
* 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
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
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?
14 matches
Mail list logo