RE: [PHP] Mail Function Problem

2010-04-13 Thread Ashley Sheridan
On Mon, 2010-04-12 at 12:25 -0400, Alice Wei wrote: Date: Mon, 12 Apr 2010 11:09:42 -0500 From: k...@daleco.biz To: aj...@alumni.iu.edu CC: a.bovane...@gmail.com; php-general@lists.php.net Subject: Re: [PHP] Mail Function Problem Alice Wei wrote: Hi! You have

RE: [PHP] Mail Function Problem

2010-04-13 Thread Alice Wei
Subject: RE: [PHP] Mail Function Problem From: a...@ashleysheridan.co.uk To: aj...@alumni.iu.edu CC: k...@daleco.biz; a.bovane...@gmail.com; php-general@lists.php.net Date: Tue, 13 Apr 2010 13:19:15 +0100 On Mon, 2010-04-12 at 12:25 -0400, Alice Wei wrote: Date: Mon, 12 Apr

RE: [PHP] Mail Function Problem

2010-04-13 Thread Ashley Sheridan
On Tue, 2010-04-13 at 08:59 -0400, Alice Wei wrote: Subject: RE: [PHP] Mail Function Problem From: a...@ashleysheridan.co.uk To: aj...@alumni.iu.edu CC: k...@daleco.biz; a.bovane...@gmail.com; php-general@lists.php.net Date: Tue, 13 Apr 2010 13:19:15 +0100 On Mon

Re: [PHP] Mail Function Problem

2010-04-12 Thread Peter Lind
On 12 April 2010 05:22, Kevin Kinsey k...@daleco.biz wrote: Thanks to the worldwide brotherhood of crooks known as spammers, sending e-mail these days isn't nearly as easy as PHP makes it look. You might wanna look into an errors-to header to help debug any problems with sender authorization,

RE: [PHP] Mail Function Problem

2010-04-12 Thread Alice Wei
From: peter.e.l...@gmail.com Date: Mon, 12 Apr 2010 13:09:48 +0200 Subject: Re: [PHP] Mail Function Problem To: k...@daleco.biz CC: aj...@alumni.iu.edu; php-general@lists.php.net On 12 April 2010 05:22, Kevin Kinsey k...@daleco.biz wrote: Thanks to the worldwide brotherhood of crooks

Re: [PHP] Mail Function Problem

2010-04-12 Thread Alexey Bovanenko
Hi! You have the following php.ini params: SMTP = smtp.live.com smtp_port = 587 live.com not support relay and it requires authentication. On Mon, Apr 12, 2010 at 6:33 AM, Alice Wei aj...@alumni.iu.edu wrote: Hi, I have an issue here where I see no PHP errors on my mail function usage,

RE: [PHP] Mail Function Problem

2010-04-12 Thread Alice Wei
Date: Mon, 12 Apr 2010 15:26:46 +0400 Subject: Re: [PHP] Mail Function Problem From: a.bovane...@gmail.com To: aj...@alumni.iu.edu CC: php-general@lists.php.net Hi! You have the following php.ini params:SMTP = smtp.live.com smtp_port = 587 live.com not support relay and it requires

Re: [PHP] Mail Function Problem

2010-04-12 Thread Kevin Kinsey
Alice Wei wrote: Hi! You have the following php.ini params:SMTP = smtp.live.com smtp_port = 587 live.com not support relay and it requires authentication. Is there an email account that I could try? I thought most email accounts requires authentication anyway. Well, therein lies the rub,

RE: [PHP] Mail Function Problem

2010-04-12 Thread Alice Wei
Date: Mon, 12 Apr 2010 11:09:42 -0500 From: k...@daleco.biz To: aj...@alumni.iu.edu CC: a.bovane...@gmail.com; php-general@lists.php.net Subject: Re: [PHP] Mail Function Problem Alice Wei wrote: Hi! You have the following php.ini params:SMTP = smtp.live.com smtp_port = 587

RE: [PHP] Mail Function Problem

2010-04-12 Thread Teus Benschop
On Mon, 2010-04-12 at 12:58 -0400, Alice Wei wrote: Hi, I found an article on the item you described. http://www.talkphp.com/vbarticles.php?do=articlearticleid=51title=sending-emails-with-the-zend-framework, but I am using Windows on my PHP. Would this still work? Looks like the example

Re: [PHP] Mail Function Problem

2010-04-12 Thread kranthi
PEAR's mail package does support authentication. http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm In case you get a Sent Successfully message (but didn't get a mail in your inbox or spam folder) there is a problem with your SMTP server configuration. And

Re: [PHP] Mail Function Problem

2010-04-12 Thread Kevin Kinsey
kranthi wrote: PEAR's mail package does support authentication. http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm I will say mea culpa on this one; apparently I didn't dig deep enough into the PEAR docs to figure this out. It's certainly not mentioned on the

RE: [PHP] Mail Function Problem

2010-04-12 Thread Alice Wei
@lists.php.net Subject: Re: [PHP] Mail Function Problem kranthi wrote: PEAR's mail package does support authentication. http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm I will say mea culpa on this one; apparently I didn't dig deep enough into the PEAR

Re: [PHP] Mail Function Problem

2010-04-12 Thread Karl DeSaulniers
] Mail Function Problem kranthi wrote: PEAR's mail package does support authentication. http://email.about.com/od/emailprogrammingtips/qt/ PHP_Email_SMTP_Authentication.htm I will say mea culpa on this one; apparently I didn't dig deep enough into the PEAR docs to figure this out. It's certainly

RE: [PHP] Mail Function Problem

2010-04-12 Thread Alice Wei
Date: Mon, 12 Apr 2010 15:54:05 -0500 From: k...@daleco.biz To: kranthi...@gmail.com CC: aj...@alumni.iu.edu; php-general@lists.php.net Subject: Re: [PHP] Mail Function Problem kranthi wrote: PEAR's mail package does support authentication. http://email.about.com/od

Re: [PHP] Mail Function Problem

2010-04-12 Thread kranthi
thats weired... Mail.php contains the class Mail. So getting a class not found error is not possible... (require_once stops the script in case it can't find Mail.php) Do I need to move the Mail PEAR class to the same folder as my web folder ensure that C:/xampp/php/PEAR folder is added to your

RE: [PHP] Mail Function Problem

2010-04-12 Thread Alice Wei
From: kranthi...@gmail.com Date: Tue, 13 Apr 2010 07:41:19 +0530 Subject: Re: [PHP] Mail Function Problem To: aj...@alumni.iu.edu CC: k...@daleco.biz; php-general@lists.php.net thats weired... Mail.php contains the class Mail. So getting a class not found error is not possible

Re: [PHP] Mail Function Problem

2010-04-12 Thread Karl DeSaulniers
.= 'Content-type: text/html; charset=utf-8' . \r\n; Karl On Apr 12, 2010, at 10:24 PM, Alice Wei wrote: From: kranthi...@gmail.com Date: Tue, 13 Apr 2010 07:41:19 +0530 Subject: Re: [PHP] Mail Function Problem To: aj...@alumni.iu.edu CC: k...@daleco.biz; php-general@lists.php.net thats weired

Re: [PHP] Mail Function Problem

2010-04-12 Thread kranthi
when you install pear package Mail a file called Mail.php will be installed into C:/xampp/php/PEAR Mail.php contains the class Mail. So getting a class not found error is not possible.. are you sure you are doing require_once 'Mail.php' ? -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Mail Function Problem

2010-04-11 Thread Kevin Kinsey
Alice Wei wrote: Hi, I have an issue here where I see no PHP errors on my mail function usage, and yet I am not getting the mail in the desired account. Here is what I have for my PHP code: $headers = From: aj...@alumni.iu.edu; $to = aj...@alumni.iu.edu ; $subject = Comments Regarding My

Re: [PHP] mail function problem

2007-07-05 Thread Daniel Brown
On 7/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Chris a écrit : web2 wrote: Chris a écrit : Try this: ? $email = [EMAIL PROTECTED]; $headers = From: .$email.\r\n; $headers .= X-Mailer: PHP/.phpversion().\r\n; if(mail([EMAIL PROTECTED],essai,test,$headers)) { echo OK:

Re: [PHP] mail function problem

2007-07-05 Thread web2
Chris a écrit : web2 wrote: Chris a écrit : Try this: ? $email = [EMAIL PROTECTED]; $headers = From: .$email.\r\n; $headers .= X-Mailer: PHP/.phpversion().\r\n; if(mail([EMAIL PROTECTED],essai,test,$headers)) { echo OK: .ini_get('sendmail_path'); } else { echo NOK:

Re: [PHP] mail function problem

2007-07-05 Thread Tijnema
On 7/5/07, Daniel Brown [EMAIL PROTECTED] wrote: On 7/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Chris a écrit : web2 wrote: Chris a écrit : Try this: ? $email = [EMAIL PROTECTED]; $headers = From: .$email.\r\n; $headers .= X-Mailer: PHP/.phpversion().\r\n;

Re: [PHP] mail function problem

2007-07-05 Thread Daniel Brown
On 7/5/07, Tijnema [EMAIL PROTECTED] wrote: he's running it on the web, as the CLI worked ;) Yeah, I knew it was mentioned before, but I couldn't remember. I think I have early-onset Alzheimer's. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General

Re: [PHP] mail function problem

2007-07-04 Thread web2
Chris a écrit : Try this: ? $email = [EMAIL PROTECTED]; $headers = From: .$email.\r\n; $headers .= X-Mailer: PHP/.phpversion().\r\n; if(mail([EMAIL PROTECTED],essai,test,$headers)) { echo OK: .ini_get('sendmail_path'); } else { echo NOK: .ini_get('sendmail_path'); } ? Note Same

Re: [PHP] mail function problem

2007-07-04 Thread Chris
web2 wrote: Chris a écrit : Try this: ? $email = [EMAIL PROTECTED]; $headers = From: .$email.\r\n; $headers .= X-Mailer: PHP/.phpversion().\r\n; if(mail([EMAIL PROTECTED],essai,test,$headers)) { echo OK: .ini_get('sendmail_path'); } else { echo NOK: .ini_get('sendmail_path'); } ?

Re: [PHP] mail function problem

2007-07-03 Thread web2
Daniel Brown a écrit : On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Daniel Brown a écrit : On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've already checked : - the mail logs : no mail send - and the apache error and access logs : nothing except this : 192.168.0.1 - -

Re: [PHP] mail function problem

2007-07-03 Thread Chris
Try this: ? $email = [EMAIL PROTECTED]; $headers = From: .$email.\r\n; $headers .= X-Mailer: PHP/.phpversion().\r\n; if(mail([EMAIL PROTECTED],essai,test,$headers)) { echo OK: .ini_get('sendmail_path'); } else { echo NOK: .ini_get('sendmail_path'); } ? Note Same result : NOK

Re: [PHP] mail function problem

2007-07-02 Thread web2
I've already checked : - the mail logs : no mail send - and the apache error and access logs : nothing except this : 192.168.0.1 - - [02/Jul/2007:14:07:22 +0200] GET /~ee/mail.php HTTP/1.1 200 49291 - Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Re: [PHP] mail function problem

2007-07-02 Thread Daniel Brown
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've already checked : - the mail logs : no mail send - and the apache error and access logs : nothing except this : 192.168.0.1 - - [02/Jul/2007:14:07:22 +0200] GET /~ee/mail.php HTTP/1.1 200 49291 - Mozilla/5.0 (Windows; U; Windows

Re: [PHP] mail function problem

2007-07-02 Thread web2
Daniel Brown a écrit : On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've already checked : - the mail logs : no mail send - and the apache error and access logs : nothing except this : 192.168.0.1 - - [02/Jul/2007:14:07:22 +0200] GET /~ee/mail.php HTTP/1.1 200 49291 -

Re: [PHP] mail function problem

2007-07-02 Thread Daniel Brown
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Daniel Brown a écrit : On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've already checked : - the mail logs : no mail send - and the apache error and access logs : nothing except this : 192.168.0.1 - - [02/Jul/2007:14:07:22

Re: [PHP] mail function problem

2007-07-02 Thread Daniel Brown
On 7/2/07, Daniel Brown [EMAIL PROTECTED] wrote: {snip} Note Sorry, hit the button before I was done typing. Note the trailing \r\n after the X-Mailer line as well. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List

Re: [PHP] mail function problem

2007-07-01 Thread Chris
[EMAIL PROTECTED] wrote: Hi, I'm running PHP 5.2.3 on Solaris 10 (AMD64). My mail function doesn't send any mail, the return value of mail function is false... But sendmail_path value is OK in php.ini, and I've tried to send a mail with sendmail on console with the same user (the apache

Re: [PHP] mail() function problem

2004-09-02 Thread Dre
I'm developing uner Windows at home .. but I'm pretty sure that my host is running Unix or Unix like systems on their machines Pahlevanzadeh Mohsen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Please install a mailserver until your SMTP server will be up. When your SMTP server is

Re: [PHP] mail() function problem

2004-09-01 Thread Pahlevanzadeh Mohsen
Please install a mailserver until your SMTP server will be up. When your SMTP server is down,mail func doesn't work. My suggesstion: Please work under UNIX systems. Yours,Mohsen --- Dre [EMAIL PROTECTED] wrote: Hi I was trying to use the mail() function, but it did not work, maybe because of

Re: [PHP] mail() function problem

2004-09-01 Thread James Kaufman
On Wed, Sep 01, 2004 at 06:09:04PM +0300, Dre wrote: Hi I was trying to use the mail() function, but it did not work, maybe because of some settings problem or something that I can't figure out I went online and tried to execute the following

Re: [PHP] mail function problem

2003-05-31 Thread Michael Geier
changing the value in the php.ini file is not the ideal option, as it screws things up for all of users/scripts on the server. you could use ini_set() for the script to change the sendmail_path var for that script. you could use a mail class that does alot of the grunt work for you (Manuel Lemos

Re: [PHP] mail function problem

2003-05-30 Thread David Grant
Bersani Francesco wrote: Hi, I have a problem with the mail function; it always sends mails assuming in the from field the user [EMAIL PROTECTED]. I tried to override it with this code: ? $email = [EMAIL PROTECTED]; $subject = prova invio mail ; $message = parappaaa ;

Re: [PHP] Mail() function problem

2002-09-11 Thread Alva Chew
Hi, does that mean I can do nothing about it? Alva Pekka Saarinen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... At 9/10/2002, you wrote: Hi Everyone, I did a simple test with this script: ?php mail([EMAIL PROTECTED], test, this is a test mail); echo

Re: [PHP] Mail() function problem

2002-09-11 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Hi, does that mean I can do nothing about it? Alva Pekka Saarinen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... At 9/10/2002, you wrote: Hi Everyone, I did a simple test with this

Re: [PHP] Mail() function problem

2002-09-10 Thread Pekka Saarinen
At 9/10/2002, you wrote: Hi Everyone, I did a simple test with this script: ?php mail([EMAIL PROTECTED], test, this is a test mail); echo done; ? I run the script from web accounts on different servers. I can receive the test mail from some but not from others. Is there any configurations that

RE: [PHP] mail() function problem

2002-09-02 Thread Akhmad D. Sembiring
Message- # From: Arul Venkatesh Kandaswamy [mailto:[EMAIL PROTECTED]] # Sent: Saturday, August 31, 2002 17:07 # To: Akhmad D. Sembiring # Subject: Re: [PHP] mail() function problem # # # Hello # # $from = MIME-Version: 1.0\r\n; # $from .= Content-type: text/html; charset=iso-8859-1\r

Re: [PHP] mail() function problem

2002-09-02 Thread Manuel Lemos
Hello, On 09/03/2002 12:19 AM, Akhmad D. Sembiring wrote: Dear Arul friends, thanks for your kind helps, but the problem still exists. the actual problem is that the 2nd mail() function does not ever send the mail, no matter what the destination and the additional header is. is

RE: [PHP] mail() function problem

2002-09-02 Thread Akhmad D. Sembiring
# On 09/03/2002 12:19 AM, Akhmad D. Sembiring wrote: # Dear Arul friends, # # thanks for your kind helps, # but the problem still exists. # # the actual problem is that the 2nd mail() function # does not ever send the mail, no matter what the destination # and the additional

Re: [PHP] mail() function problem

2002-09-02 Thread Manuel Lemos
Hello, On 09/03/2002 12:38 AM, Akhmad D. Sembiring wrote: # thanks for your kind helps, # but the problem still exists. # # the actual problem is that the 2nd mail() function # does not ever send the mail, no matter what the destination # and the additional header is. #

Re: [PHP] mail() function problem

2002-08-31 Thread Justin French
I think mailing list managers like Yahoo, ezmlm, etc all have features in them to suspect bots and programs from subscribing/posting to the groups. I know I've had trouble subscribing/posting to groups managed by ezmlm... Probably there is a header or two that PHP automatically sets which makes

RE: [PHP] mail() function problem

2002-08-31 Thread Dave at Sinewaves.net
; [EMAIL PROTECTED] Subject: Re: [PHP] mail() function problem I think mailing list managers like Yahoo, ezmlm, etc all have features in them to suspect bots and programs from subscribing/posting to the groups. I know I've had trouble subscribing/posting to groups managed by ezmlm... Probably

Re: [PHP] Mail() function problem

2002-07-02 Thread Jason Wong
On Wednesday 03 July 2002 00:52, Balaji Ankem wrote: I am using the SMTP server which needs authentication. I don't think the built-in mail command handles authentication. Google php smtp auth that should point you in the right direction. -- Jason Wong - Gremlins Associates -