Re: [PHP] Re: Sending PHP mail with Authentication

2013-09-29 Thread Paul M Foster
your requirements are extraordinary (which the OP's are), the native PHP mail() function is generally quite adequate. Never thought about creating a PHP email client. Interesting idea... Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http

[PHP] Re: Sending PHP mail with Authentication

2013-09-26 Thread Maciek Sokolewicz
On 25-9-2013 22:11, dealTek wrote: Hi All, Semi newbie email question... I have used the - mail() — Send mail php function to send email from a site. now it seems the server is blocking this for safety because I should be using authentication Q: mail() does not have authentication -

[PHP] Sending PHP mail with Authentication

2013-09-25 Thread dealTek
Hi All, Semi newbie email question... I have used the - mail() — Send mail php function to send email from a site. now it seems the server is blocking this for safety because I should be using authentication Q: mail() does not have authentication - correct? Q: So I read from the link

Re: [PHP] Sending PHP mail with Authentication

2013-09-25 Thread Aziz Saleh
Usually if I am using a framework I would use the SMTP library associated with it. If it doesn't have one, I use phpmailer, fast and easy to setup: http://phpmailer.worxware.com/index.php?pg=examplebsmtp Aziz On Wed, Sep 25, 2013 at 4:11 PM, dealTek deal...@gmail.com wrote: Hi All, Semi

Re: [PHP] Sending PHP mail with Authentication

2013-09-25 Thread Camilo Sperberg
Another vote for PHPMailer, I have it working several years already (authenticating against a Zimbra and Outlook SMTP server) without problems. Greetings. On Wed, Sep 25, 2013 at 11:12 PM, Aziz Saleh azizsa...@gmail.com wrote: Usually if I am using a framework I would use the SMTP library

Re: [PHP] Sending PHP mail with Authentication

2013-09-25 Thread Camilo Sperberg
On Wed, Sep 25, 2013 at 11:48 PM, Camilo Sperberg m...@unreal4u.com wrote: Another vote for PHPMailer, I have it working several years already (authenticating against a Zimbra and Outlook SMTP server) without problems. Greetings. On Wed, Sep 25, 2013 at 11:12 PM, Aziz Saleh

Re: [PHP] Send php Mail not working in MAMP (non pro version)

2012-10-18 Thread Jim Lucas
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...

[PHP] Send php Mail not working in MAMP (non pro version)

2012-10-17 Thread Dave
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 a

Re: [PHP] Send php Mail not working in MAMP (non pro version)

2012-10-17 Thread Jim Lucas
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

Re: [PHP] Send php Mail not working in MAMP (non pro version)

2012-10-17 Thread Dave
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

[PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread David Armstrong
I'm in the process of helping some developers port their php application from Linux to Windows (I know, string me up from the flag pole later). I have setup WAMP and everything is working fine with the exception of the mail() function. The code was originally developed on Linux and leveraged

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 15:27, David Armstrong darmstrong...@gmail.com wrote: I'm in the process of helping some developers port their php application from Linux to Windows (I know, string me up from the flag pole later).  I have setup WAMP and everything is working fine with the exception of

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 15:50, David Armstrong darmstrong...@gmail.com wrote: I set the following parameters [mail function] ; For Win32 only. ; http://php.net/smtp SMTP = localhost ; http://php.net/smtp-port smtp_port = 25 sendmail_from = valid account here Per list rules, please hit

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread David Armstrong
I modified the php.ini in both the apache/bin directory, and also the php directory. Is there some way to get a trace of the code execution? The SMTP log files are completely worthless. They do not show any sort of connection attempt. On Thu, Jan 6, 2011 at 12:58 PM, Daniel Brown

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 16:02, David Armstrong darmstrong...@gmail.com wrote: I modified the php.ini in both the apache/bin directory, and also the php directory. Is there some way to get a trace of the code execution?  The SMTP log files are completely worthless.  They do not show any sort of

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread David Armstrong
Thanks Daniel. I will suggest that to the developer and see if we can get some useful information to further the troubleshooting process. On Thu, Jan 6, 2011 at 1:08 PM, Daniel Brown danbr...@php.net wrote: On Thu, Jan 6, 2011 at 16:02, David Armstrong darmstrong...@gmail.com wrote: I

Re: [PHP] mail() function on Windows (WAMP Server)

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 16:10, David Armstrong darmstrong...@gmail.com wrote: Thanks Daniel.  I will suggest that to the developer and see if we can get some useful information to further the troubleshooting process.    Per list rules, please hit reply-all and post your response below the

[PHP] php mail() and sendmail/smtp

2010-12-02 Thread Michael Crowl
Okay, I know this is a Sendmail/SMTP admin issue, but it's PHP-related and I figured someone here might have a clue or might have solved this issue before. I've come into this dev server after many hands have touched it, and I'm not quite sure how to proceed, nor am I a Linux genius. We're

Re: [PHP] php mail() and sendmail/smtp

2010-12-02 Thread Peter Lind
2010/12/2 Michael Crowl octo...@serv.net: * snip *  Also, we have Redmine running on the same server, and it sends admin emails out just fine - however, I don't think it calls sendmail directly like our PHP install, but connects directly to the local SMTP server. Sounds like a solution to

Re: [PHP] php mail() and sendmail/smtp

2010-12-02 Thread Daniel P. Brown
2010/12/2 Michael Crowl octo...@serv.net: Possible solutions?  I'm a little frazzled and a little undereducated here. Use the under-appreciated fifth paramter in mail() to pass the -f flag to sendmail, like so: ?php $to = 'danbr...@php.net'; $subject = 'This is an emample for a php-general

[PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
PHP'ers, I am sure this would have been asked a zillion times but I take this as my turn to get some help. I hate to ask such rhetorical questions but quite couldn't understand how to tweak this. All I am trying to do is send a mail from my localhost to my Gmail ID. I read stuff about how the

Re: [PHP] mail() + localhost

2010-07-01 Thread Andrew Ballard
On Thu, Jul 1, 2010 at 9:09 AM, Shreyas Agasthya shreya...@gmail.com wrote: Also, when the comment says that you need to 'configure' your php.ini, which .ini should I modify? The reason being, I see that file in two locations, apparently. (i) C:\Program Files\EasyPHP 3.0\apache (ii)

Re: [PHP] mail() + localhost

2010-07-01 Thread Daniel Brown
On Thu, Jul 1, 2010 at 09:09, Shreyas Agasthya shreya...@gmail.com wrote: All I am trying to do is send a mail from my localhost to my Gmail ID. I read stuff about how the SMTP port should be accessible; should be open et al. My set-up is very simple: 1. Using Easy PHP. 2. Windows XP

Re: [PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
Erm... understood. I modified the changes to look like this in the php.ini file (the right one based on the output of phpinfo()). 3) *smtp = smtp.gmail.com* *smtp_port = 587* * * *I get : Failed to connect to mailserver at localhost port 587, verify your SMTP and smtp_port setting in php.ini* *

Re: [PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
Spoke too fast. Fixed that (SMTP has to be uppercase) Now it is : *SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. c15sm7128213rvi.11* On Thu, Jul 1, 2010 at 7:25 PM, Shreyas Agasthya shreya...@gmail.comwrote: Erm... understood. I modified the changes to look like this

Re: [PHP] mail() + localhost

2010-07-01 Thread Daniel Brown
On Thu, Jul 1, 2010 at 10:02, Shreyas Agasthya shreya...@gmail.com wrote: Spoke too fast. Fixed that (SMTP has to be uppercase) Now it is : *SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. c15sm7128213rvi.11* (Quick note: per the list guidelines, please don't

Re: [PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
Not sure where I am top-posting. I posted to my own mail so that one gets to know the latest. Nevertheless, I wouldn't go against the guidelines as I completely understand the havoc that it can create. The port is 587 as per Google; SMTP that I am using is Google's (anything wrong here?). If

Re: [PHP] mail() + localhost

2010-07-01 Thread Shreyas Agasthya
Trying again; most likely I cannot do this without SSL. --Shreyas On Thu, Jul 1, 2010 at 8:42 PM, Shreyas Agasthya shreya...@gmail.comwrote: Not sure where I am top-posting. I posted to my own mail so that one gets to know the latest. Nevertheless, I wouldn't go against the guidelines as I

[PHP] mail command failing

2010-06-29 Thread Mike Wright
Hi all, I'm very puzzled by this. I've been using the php mail command for years but now I can't get it to work and can't figure out how to diagnose the problem. The code below was copied from the manual (addresses changed, etc); php.ini has safe_mode off; binary is at /usr/sbin/sendmail

Re: [PHP] mail command failing

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 10:00 -0700, Mike Wright wrote: Hi all, I'm very puzzled by this. I've been using the php mail command for years but now I can't get it to work and can't figure out how to diagnose the problem. The code below was copied from the manual (addresses changed, etc

Re: [PHP] mail command failing

2010-06-29 Thread Mike Wright
Ashley Sheridan wrote: On Tue, 2010-06-29 at 10:00 -0700, Mike Wright wrote: Hi all, I'm very puzzled by this. I've been using the php mail command for years but now I can't get it to work and can't figure out how to diagnose the problem. php-5.2.29 on fedora10 with apache 2.2.14. Can

RE: [PHP] mail command failing

2010-06-29 Thread Bob McConnell
From: Ashley Sheridan On Tue, 2010-06-29 at 10:00 -0700, Mike Wright wrote: Hi all, I'm very puzzled by this. I've been using the php mail command for years but now I can't get it to work and can't figure out how to diagnose the problem. The code below was copied from the manual

Re: [PHP] mail command failing

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 10:27 -0700, Mike Wright wrote: Ashley Sheridan wrote: On Tue, 2010-06-29 at 10:00 -0700, Mike Wright wrote: Hi all, I'm very puzzled by this. I've been using the php mail command for years but now I can't get it to work and can't figure out how

Re: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Peter Lind
On 21 April 2010 04:25, Alice Wei aj...@alumni.iu.edu wrote: Well, from my experience with Ubuntu, looks like that it does not do that. Unless, I am doing it wrong? So did you try using the 'smtp' backend and passing all the connection details rather than 'mail'? -- hype WWW: http://plphp.dk

Re: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Ken Guest
: From: peter.e.l...@gmail.com Date: Mon, 19 Apr 2010 10:15:08 +0200 Subject: Re: [PHP] Mail Function Using PEAR Issues To: aj...@alumni.iu.edu CC: php-general@lists.php.net Most, if not all, mail servers keep log files. You should look for the log files to see if the mail server has sent

RE: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Alice Wei
From: peter.e.l...@gmail.com Date: Wed, 21 Apr 2010 09:29:19 +0200 Subject: Re: [PHP] Mail Function Using PEAR Issues To: aj...@alumni.iu.edu CC: a...@ashleysheridan.co.uk; php-general@lists.php.net On 21 April 2010 04:25, Alice Wei aj...@alumni.iu.edu wrote: Well, from my experience

RE: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Alice Wei
Date: Wed, 21 Apr 2010 22:01:03 +0200 Subject: Re: [PHP] Mail Function Using PEAR Issues To: aj...@alumni.iu.edu CC: a...@ashleysheridan.co.uk; php-general@lists.php.net On 21 April 2010 21:58, Alice Wei aj...@alumni.iu.edu wrote: From: peter.e.l...@gmail.com Date: Wed, 21 Apr 2010 21

Re: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Ken Guest
and install it by hand; though for reasons I've outlined in a previous post to this list I'd suggest you use the pear installer. On Thu, Apr 22, 2010 at 12:12 AM, Alice Wei aj...@alumni.iu.edu wrote: Date: Wed, 21 Apr 2010 22:01:03 +0200 Subject: Re: [PHP] Mail Function Using PEAR Issues To: aj

RE: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Alice Wei
Date: Thu, 22 Apr 2010 00:31:04 +0100 Subject: Re: [PHP] Mail Function Using PEAR Issues From: k...@linux.ie To: aj...@alumni.iu.edu CC: peter.e.l...@gmail.com; a...@ashleysheridan.co.uk; php-general@lists.php.net you have to install the net_smtp package, simply with this command

Re: [PHP] Mail Function Using PEAR Issues

2010-04-20 Thread Ken Guest
on doing this are at http://pear.php.net/manual/en/guide.users.dependencytracking.php For the record, this is the example script that I submitted to http://www.web-development-blog.com/archives/php-mail-scripts-using-smtp-transport-a-guide-for-beginners/ for demonstrating how to use the PEAR packages

RE: [PHP] Mail Function Using PEAR Issues

2010-04-20 Thread Alice Wei
From: peter.e.l...@gmail.com Date: Mon, 19 Apr 2010 10:15:08 +0200 Subject: Re: [PHP] Mail Function Using PEAR Issues To: aj...@alumni.iu.edu CC: php-general@lists.php.net Most, if not all, mail servers keep log files. You should look for the log files to see if the mail server has sent

Re: [PHP] Mail Function Using PEAR Issues

2010-04-20 Thread Peter Lind
On 20 April 2010 20:17, Alice Wei aj...@alumni.iu.edu wrote: From: peter.e.l...@gmail.com Date: Mon, 19 Apr 2010 10:15:08 +0200 Subject: Re: [PHP] Mail Function Using PEAR Issues To: aj...@alumni.iu.edu CC: php-general@lists.php.net Most, if not all, mail servers keep log files. You should

Re: [PHP] Mail Function Using PEAR Issues

2010-04-20 Thread Ashley Sheridan
On Tue, 2010-04-20 at 22:17 +0200, Peter Lind wrote: On 20 April 2010 20:17, Alice Wei aj...@alumni.iu.edu wrote: From: peter.e.l...@gmail.com Date: Mon, 19 Apr 2010 10:15:08 +0200 Subject: Re: [PHP] Mail Function Using PEAR Issues To: aj...@alumni.iu.edu CC: php-general

RE: [PHP] Mail Function Using PEAR Issues

2010-04-20 Thread Alice Wei
Subject: Re: [PHP] Mail Function Using PEAR Issues From: a...@ashleysheridan.co.uk To: peter.e.l...@gmail.com CC: aj...@alumni.iu.edu; php-general@lists.php.net Date: Tue, 20 Apr 2010 21:16:03 +0100 On Tue, 2010-04-20 at 22:17 +0200, Peter Lind wrote: On 20 April 2010 20:17, Alice

RE: [PHP] Mail Function Using PEAR Issues

2010-04-20 Thread Alice Wei
Subject: Re: [PHP] Mail Function Using PEAR Issues From: a...@ashleysheridan.co.uk To: peter.e.l...@gmail.com CC: aj...@alumni.iu.edu; php-general@lists.php.net Date: Tue, 20 Apr 2010 21:16:03 +0100 On Tue, 2010-04-20 at 22:17 +0200, Peter Lind wrote: On 20 April 2010 20:17, Alice

Re: [PHP] Mail Function Using PEAR Issues

2010-04-19 Thread Peter Lind
Most, if not all, mail servers keep log files. You should look for the log files to see if the mail server has sent your mail properly or is experiencing problems (those may not feed back into PHP). Regards Peter -- hype WWW: http://plphp.dk / http://plind.dk LinkedIn:

RE: [PHP] Mail Function Using PEAR Issues

2010-04-19 Thread Alice Wei
Date: Sun, 18 Apr 2010 21:39:19 -0500 From: k...@daleco.biz To: aj...@alumni.iu.edu CC: k...@designdrumm.com; php-general@lists.php.net Subject: Re: [PHP] Mail Function Using PEAR Issues Alice Wei wrote: Date: Sun, 18 Apr 2010 21:02:29 -0500 From: k...@daleco.biz To: aj

RE: [PHP] Mail Function Using PEAR Issues

2010-04-19 Thread David McGlone
On Mon, 2010-04-19 at 08:25 -0400, Alice Wei wrote: I have not changed any of my SMTP settings since my new installation of PHP with Pear. So, I am not sure what the settings are supposed to be. Would I need to install anything else even when the Pear Mail package has been installed?

[PHP] Mail Function Using PEAR Issues

2010-04-18 Thread Alice Wei
Hi, After several days, I have rebuilt my system on Linux using Ubuntu, installed PEAR and such. Thankfully, when I execute the code, it no longer gives me the error that the class is not found. Yet, when I submit the form now, I can always see the confirmation message telling me that my

Re: [PHP] Mail Function Using PEAR Issues

2010-04-18 Thread Karl DeSaulniers
Hey Alice, Again, try throwing the MIME in. $headers = 'MIME-Version: 1.0' . \r\n; $headers .= 'Content-type: text/html; charset=utf-8' . \r\n; Karl On Apr 18, 2010, at 10:11 AM, Alice Wei wrote: Hi, After several days, I have rebuilt my system on Linux using Ubuntu, installed PEAR

Re: [PHP] Mail Function Using PEAR Issues

2010-04-18 Thread Kevin Kinsey
Karl DeSaulniers wrote: Hey Alice, Again, try throwing the MIME in. $headers = 'MIME-Version: 1.0' . \r\n; $headers .= 'Content-type: text/html; charset=utf-8' . \r\n; Also: $headers .= 'Errors-to: myworkingemailaddr...@foo.com' . \r\n; Which I suggested on your previous thread. Also, I

RE: [PHP] Mail Function Using PEAR Issues

2010-04-18 Thread Alice Wei
Date: Sun, 18 Apr 2010 21:02:29 -0500 From: k...@daleco.biz To: aj...@alumni.iu.edu CC: k...@designdrumm.com; php-general@lists.php.net Subject: Re: [PHP] Mail Function Using PEAR Issues Karl DeSaulniers wrote: Hey Alice, Again, try throwing the MIME in. $headers = 'MIME

Re: [PHP] Mail Function Using PEAR Issues

2010-04-18 Thread Karl DeSaulniers
Is there any need for this line if you are using the Errors-to: ? Maybe take it out and see what Errors-to gives you without it. On Apr 18, 2010, at 9:27 PM, Alice Wei wrote: if (PEAR::isError($mail)) echo p . $mail-getMessage() . OAN - That sendmail script I posted, I know works on

Re: [PHP] Mail Function Using PEAR Issues

2010-04-18 Thread Kevin Kinsey
Alice Wei wrote: Date: Sun, 18 Apr 2010 21:02:29 -0500 From: k...@daleco.biz To: aj...@alumni.iu.edu CC: k...@designdrumm.com; php-general@lists.php.net Subject: Re: [PHP] Mail Function Using PEAR Issues Karl DeSaulniers wrote: Hey Alice, Again, try throwing the MIME in. $headers = 'MIME

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
page, with no errors. Has anyone who succeeded with using PEAR on PHP can guide me on a good tutorial to read? Thanks for your help. Alice 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

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

[PHP] Mail Function Problem

2010-04-11 Thread Alice Wei
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 Studio; $body =

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

[PHP] About the php mail function and imap_mail function

2010-04-04 Thread ttplayer
Hi, everyone! I have a problem about the php mail function and imap_mail function. When I use the mail or imap_mail function to send a email, the php script sends the email through the local mail sever with sendmail or another MTA supported. However, I have a gmail account. I just want the php

Re: [PHP] About the php mail function and imap_mail function

2010-04-04 Thread dispy
Am 04.04.2010 14:28, schrieb ttplayer: Hi, everyone! I have a problem about the php mail function and imap_mail function. When I use the mail or imap_mail function to send a email, the php script sends the email through the local mail sever with sendmail or another MTA supported. However

Re: [PHP] About the php mail function and imap_mail function

2010-04-04 Thread Andre Polykanine
! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Original message - From: ttplayer f...@qq.com To: php-general php-general@lists.php.net Date: Sunday, April 4, 2010, 3:28:33 PM Subject: [PHP] About the php mail function and imap_mail function Hi, everyone! I have a problem

Re: [PHP] Mail Function In PHP

2010-03-10 Thread Michael Kubler
Having worked at a decent sized, respectable ISP with 100,000+ customers sending email via Iron Ports (email scanners), even they would get put on a blacklist on a monthly basis. Hell it wouldn't surprise me if Gmail's SMTP servers got put on a black list at some point. There's seemingly

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Richard Quadling
On 7 March 2010 04:54, Kannan kanna...@gmail.com wrote: Hello           I am creating a application for our college using the php.In that i want to send mail to all who are all the list. For that i am just simply use the mail function in php without configuring any mail system in the

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Teus Benschop
On Mon, 2010-03-08 at 10:21 +, Richard Quadling wrote: Contrary to popular belief, to send an email you do not need to have your own SMTP server. All you need to know is the SMTP server responsible for your recipients email. [...] While the above is true, there is also another thing that

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Richard Quadling
On 8 March 2010 13:06, Teus Benschop teusjanne...@gmail.com wrote: On Mon, 2010-03-08 at 10:21 +, Richard Quadling wrote: Contrary to popular belief, to send an email you do not need to have your own SMTP server. All you need to know is the SMTP server responsible for your recipients

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Richard Quadling
On 8 March 2010 13:06, Teus Benschop teusjanne...@gmail.com wrote: On Mon, 2010-03-08 at 10:21 +, Richard Quadling wrote: Contrary to popular belief, to send an email you do not need to have your own SMTP server. All you need to know is the SMTP server responsible for your recipients

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Ashley Sheridan
On Mon, 2010-03-08 at 17:18 +, Richard Quadling wrote: On 8 March 2010 13:06, Teus Benschop teusjanne...@gmail.com wrote: On Mon, 2010-03-08 at 10:21 +, Richard Quadling wrote: Contrary to popular belief, to send an email you do not need to have your own SMTP server. All you need

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Marc Trudel
If you control your DNS server setup and such, DKIM and authentication technologies alikes (http://en.wikipedia.org/wiki/DomainKeys) are the way to go. Also, make sure the reverse DNS lookup is pointing to the right place, i.e. that the SMTP server domain name translates to an IP that translates

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Teus Benschop
On Mon, 2010-03-08 at 17:18 +, Richard Quadling wrote: So, say I did go and setup a local SMTP relay, how would I make it known that it was a real smtp server and not just some script pushing spam? Once a domain or ip address was black listed, it was quite a process to get it unlisted

Re: [PHP] Mail Function In PHP

2010-03-08 Thread John Black
On 03/08/2010 06:18 PM, Richard Quadling wrote: On 8 March 2010 13:06, Teus Benschopteusjanne...@gmail.com wrote: On Mon, 2010-03-08 at 10:21 +, Richard Quadling wrote: Contrary to popular belief, to send an email you do not need to have your own SMTP server. All you need to know is the

Re: [PHP] Mail Function In PHP

2010-03-08 Thread John Black
On 03/08/2010 10:45 PM, John Black wrote: You can use SPF, DomainKeys plus valid DNS information. I have setup SPF records for my domains. If you attempt to send E-Mail as if it was sent from my server then any server doing SPF record checking will not accept or simply drop your message. I have

Re: [PHP] Mail Function In PHP

2010-03-08 Thread james . stojan
...@googlemail.com Date: Mon, 8 Mar 2010 10:21:53 To: Kannankanna...@gmail.com Cc: php-general@lists.php.net Subject: Re: [PHP] Mail Function In PHP On 7 March 2010 04:54, Kannan kanna...@gmail.com wrote: Hello           I am creating a application for our college using the php.In that i want

[PHP] Mail Function In PHP

2010-03-06 Thread Kannan
Hello I am creating a application for our college using the php.In that i want to send mail to all who are all the list. For that i am just simply use the mail function in php without configuring any mail system in the system.But the mail didn't send. For sending the mails wat are

Re: [PHP] Mail Function In PHP

2010-03-06 Thread Devendra Jadhav
You need SMTP Server for this.. Read bellow link to know more how to configure SMTP Server in PHP http://email.about.com/od/emailprogrammingtips/qt/Configure_PHP_to_Use_a_Remote_SMTP_Server_for_Sending_Mail.htm

Re: [PHP] Mail Function In PHP

2010-03-06 Thread Kevin Kinsey
Kannan wrote: Hello I am creating a application for our college using the php.In that i want to send mail to all who are all the list. For that i am just simply use the mail function in php without configuring any mail system in the system.But the mail didn't send. For sending the

[PHP] php mail() function and ezmlm

2010-01-13 Thread Bob Strasser
I'm having trouble sending info from a form to the list-subscr...@domain Does anyone know why ezmlm doesn't recognize the mail() function?

Re: [PHP] php mail() function and ezmlm

2010-01-13 Thread vikash . iitb
Can you send it to other email addresses? -- Vikash Kumar http://vika.sh On Thu, Jan 14, 2010 at 12:16 PM, Bob Strasser bstras...@noccorp.comwrote: I'm having trouble sending info from a form to the list-subscr...@domain Does anyone know why ezmlm doesn't recognize the mail() function?

Re: [PHP] php mail() function

2009-11-25 Thread James Prentice
After a long delay, I've finally got mail working. I had decided to move on in the book that I'm working through (Head First PHP MySQL) but doubled back to address the mail issue again. This is how I finally got it to work: 1. Switched to XAMPP for linux rather than using my existing versions of

Re: [PHP] php mail() function

2009-11-25 Thread James Prentice
It looks like using XAMPP wasn't strictly necessary. I tried running this example again using my previous versions of mysql and apache and it worked fine. So the key is to configure Sendmail as described at the URL I gave. On Wed, Nov 25, 2009 at 10:58 AM, James Prentice prentice@gmail.com

Re: [PHP] mail mimedecode with multiple mails in one mbox file

2009-11-16 Thread Per Jessen
Ashley Sheridan wrote: On Sun, 2009-11-15 at 20:54 +0100, Per Jessen wrote: Ashley Sheridan wrote: Hi all, I'm having a bit of difficulty seeing my way through this. I think I'm on the right path with mimeDecode, but I can't get it to read all of the emails in an mbox file which

[PHP] mail mimedecode with multiple mails in one mbox file

2009-11-15 Thread Ashley Sheridan
Hi all, I'm having a bit of difficulty seeing my way through this. I think I'm on the right path with mimeDecode, but I can't get it to read all of the emails in an mbox file which contains 100 emails; it only reads the first. I've looked over the docs on pear.php.net, but can't seem to find any

Re: [PHP] mail mimedecode with multiple mails in one mbox file

2009-11-15 Thread Per Jessen
Ashley Sheridan wrote: Hi all, I'm having a bit of difficulty seeing my way through this. I think I'm on the right path with mimeDecode, but I can't get it to read all of the emails in an mbox file which contains 100 emails; it only reads the first. I've looked over the docs on

Re: [PHP] mail mimedecode with multiple mails in one mbox file

2009-11-15 Thread Ashley Sheridan
On Sun, 2009-11-15 at 20:54 +0100, Per Jessen wrote: Ashley Sheridan wrote: Hi all, I'm having a bit of difficulty seeing my way through this. I think I'm on the right path with mimeDecode, but I can't get it to read all of the emails in an mbox file which contains 100 emails; it

  1   2   3   4   5   6   7   8   9   10   >