On 10/17/2012 05:00 PM, Dave wrote:
Make sure, if you happen to have install postfix as well, that it has
replaced your sendmail.
Then, from the cli, as your apache/php user, try sending an email using
sendmail.
# sendmail -v y...@email.com
testing
.
Thanks a lot Jim for the help...
Hi all,
MAC LION 10.7.4 latest MAMP (non pro version)
I've tried various things - but php send mail not working in MAMP (non
pro version)
... mail ( string $to , string $subject , string $message [, string
$additional_headers [, string $additional_parameters ]] )
the same script works
On 10/17/2012 09:52 AM, Dave wrote:
Hi all,
MAC LION 10.7.4 latest MAMP (non pro version)
I've tried various things - but php send mail not working in MAMP (non
pro version)
... mail ( string $to , string $subject , string $message [, string
$additional_headers [, string
Make sure, if you happen to have install postfix as well, that it has
replaced your sendmail.
Then, from the cli, as your apache/php user, try sending an email using
sendmail.
# sendmail -v y...@email.com
testing
.
Thanks a lot Jim for the help...
sorry this is getting a bit above
On Sat, May 5, 2007 3:53 pm, Andy B. wrote:
Is there any way to debug the mail() function within PHP4 or PHP5?
Check Apache error logs.
Check sendmail (or whatever) error logs.
The following code is not working when called from a browser, but it
does
work from the command line:
Often points
On Sat, May 5, 2007 5:04 pm, Andy B. wrote:
Both are exactly the same, as I copied the CLI version into the Apache
Version. Of course I first tested with the original Apache php.ini
before
overwriting it with the CLI version.
I'm not quite sure what you are saying here, but the CLI version
message like /usr/sbin/sendmail: permission denied would have made
it.
Regards,
Andy
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 08, 2007 01:01
To: Andy B.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mail() only working with php-cli
Cc: Andy B.
Subject: Re: [PHP] mail() only working with php-cli
Hello Andy,
did you take a look into the apache log files?
Regards,
Oliver
Am Samstag, 5. Mai 2007 22:53 schrieb Andy B.:
Is there any way to debug the mail() function within PHP4 or PHP5?
The following code is not working
on and then try to access the sendmail
binary.
Tijnema
-Original Message-
From: Oliver Block [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 05, 2007 23:58
To: php-general@lists.php.net
Cc: Andy B.
Subject: Re: [PHP] mail() only working with php-cli
Hello Andy,
did you take a look
Is there any way to debug the mail() function within PHP4 or PHP5?
The following code is not working when called from a browser, but it does
work from the command line:
?php
$to = '[EMAIL PROTECTED]';
$subject = 'the subject';
$message = 'hello...';
$headers = 'From: [EMAIL PROTECTED]'
On 5/5/07, Andy B. [EMAIL PROTECTED] wrote:
Is there any way to debug the mail() function within PHP4 or PHP5?
The following code is not working when called from a browser, but it does
work from the command line:
?php
$to = '[EMAIL PROTECTED]';
$subject = 'the subject';
$message =
tested with E_ALL
and also dumping errors/warnings into log files...
Andy
-Original Message-
From: Tijnema ! [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 05, 2007 23:58
To: Andy B.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mail() only working with php-cli
Are you sure
Hello Andy,
did you take a look into the apache log files?
Regards,
Oliver
Am Samstag, 5. Mai 2007 22:53 schrieb Andy B.:
Is there any way to debug the mail() function within PHP4 or PHP5?
The following code is not working when called from a browser, but it does
work from the command
I have a dedicated Red Hat linux boxed leased from Interland and the php
mail function does not work. I have found several articles on things to
try and have tried everything I saw but to no avail. I set up a php
script to mail and then print the return code and I get a 1 (success).
But the
Hello,
Phpdiscuss - Php Newsgroups And Mailing Lists wrote:
I have a dedicated Red Hat linux boxed leased from Interland and the php
mail function does not work. I have found several articles on things to
try and have tried everything I saw but to no avail. I set up a php
script to mail and then
I have a dedicated Red Hat linux boxed leased from Interland and the php
mail function does not work. I have found several articles on things to
try and have tried everything I saw but to no avail. I set up a php
script to mail and then print the return code and I get a 1 (success).
But the
I'm running under Win2k, new install of PHP(last week), I have been trying
to test the mail() function, but it doesn't seem to work. I host my own
mail server on the same machine and I know it works, has been for months,
all other mail come/goes just fine. I don't have the default SMTP server
Do you have this line in your php.ini file?
SMTP= your mail server here ;for
win32 only
-Original Message-
From: Rad Craig [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 9:22 AM
To: PHP Mailing List
Subject: [PHP] mail() not working
To: '[EMAIL PROTECTED]'; PHP Mailing List
Subject: RE: [PHP] mail() not working on Win2k
Do you have this line in your php.ini file?
SMTP = your mail server here ;for
win32 only
-Original Message-
From: Rad Craig [mailto:[EMAIL PROTECTED]]
Sent
Hello,
Rad Craig [EMAIL PROTECTED] wrote:
yes, I've tried:
SMTP = localhost
SMTP = 127.0.0.1
SMTP = mail.mydomain.com
SMTP = internal.ip.address
None made any difference, so I've set it back to localhost.
...and of course you restarted your web server after each changes?
Have you
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] mail() not working on Win2k
Hello,
Rad Craig [EMAIL PROTECTED] wrote:
yes, I've tried:
SMTP = localhost
SMTP = 127.0.0.1
SMTP = mail.mydomain.com
SMTP = internal.ip.address
None made any difference, so I've set it back
Rad Craig [EMAIL PROTECTED] wrote:
[snip]
I don't have another outside SMTP server to check it on. Will yahoo
and others like that work for testing this?
[/snip]
Yes and no. I think this depends on the server.
With Yahoo? No, it wouldn't/shouldn't work...
- E
I am trying to get the mail() function to work right on my system and
while I get no PHP errors the mail is never sent. Running on a linux
server with PHP3 and I have confirmed that the command line mail
function does work along with a few perl scripts that send mail as well.
Here is the code
On Friday 13 December 2002 04:00, Tom Culpepper wrote:
I am trying to get the mail() function to work right on my system and
while I get no PHP errors the mail is never sent. Running on a linux
server with PHP3 and I have confirmed that the command line mail
function does work along with a
I just found out that the server taht I though was running sendmail is
in fact running another program (communigate). I think php is just not
interfacing with it correctly. I know this is kinda off topic but is
there anyway to monitor what is being sent back to the system from the
PHP
All of a sudden Mail through PHP just stopped working, we can do it
through the command line, but refuses to work in PHP.
Any ideas?
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have syntax below, it suppose to send me email after there is someone buy our stuffs
together with the email from my merchant. So far I only recieve email from my merchant
but not from mail() function, anything wrong in my syntax? I did echo for the value of
a variable $mailTo and it does
27 matches
Mail list logo