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

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

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 to

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 Tue, Apr 20, 2010 at 2:10 AM, David McGlone da...@dmcentral.net wrote: 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

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?

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

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 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

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

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

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

Re: [PHP] Mail Command Body Issue - Trying to use 'do while' loop

2009-09-12 Thread c...@hosting4days.com
On Sep 12, 2009, at 3:47 PM, c...@hosting4days.com wrote: I'm having a problem with mail body issue trying to use 'do while' loop in the $mail_body var. this line: do { echo $row_get1['name'] } while ($row_get1 = mysql_fetch_assoc ($get1)) will show ok when it's on the page elsewhere

Re: [PHP] mail attachment

2009-09-06 Thread Paul M Foster
On Sat, Sep 05, 2009 at 06:52:53PM +0200, Grega Leskov??ek wrote: How do I attach a file in mail function or do I have to use PEAR (and if how ...). What are the advantages of PEAR? When do You suggest to use PEAR? You *can* attach something to an email using the mail() function, but the

Re: [PHP] mail attachment

2009-09-05 Thread Bastien Koert
RTFM Bastien On Saturday, September 5, 2009, Grega Leskovšek legr...@gmail.com wrote: How do I attach a file in mail function or do I have to use PEAR (and if how ...). What are the advantages of PEAR? When do You suggest to use PEAR? Thanks in advance, -- Peace refuge:

Re: [PHP] mail and mysql confirmation of that [double-opt in]

2009-06-29 Thread tedd
At 4:55 PM +0200 6/29/09, Grega Leskovsek wrote: how is the best way to check if email address is valid: is this preg_match() OK? preg_match('/^([a-zA-Z0-9])+([a-zA-Z0-9\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/', $email); How can I make double opt-in mail system? My idea: 1.) I remember

Re: [PHP] mail and mysql confirmation of that [double-opt in]

2009-06-29 Thread Shawn McKenzie
Grega Leskovsek wrote: how is the best way to check if email address is valid: is this preg_match() OK? preg_match('/^([a-zA-Z0-9])+([a-zA-Z0-9\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/', $email); filter_var($email, FILTER_VALIDATE_EMAIL) How can I make double opt-in mail system? My

RE: [PHP] Mail function and hotmail

2009-06-11 Thread Fernando G
appreciated. Thank you, Fernando. Date: Wed, 10 Jun 2009 23:14:11 +0530 From: sudhee...@binaryvibes.co.in To: phps...@gmail.com CC: jfer...@hotmail.com; rich...@php.net; php-general@lists.php.net Subject: Re: [PHP] Mail function and hotmail Richard was likely suggestion his mail

RE: [PHP] Mail function and hotmail

2009-06-11 Thread Fernando G
...@hotmail.com To: sudhee...@binaryvibes.co.in; phps...@gmail.com CC: rich...@php.net; php-general@lists.php.net Date: Thu, 11 Jun 2009 10:34:13 -0400 Subject: RE: [PHP] Mail function and hotmail Hello, Thank you all for your cooperation yesterday. I tried PEAR Mail_mime as follows

Re: [PHP] Mail function and hotmail

2009-06-10 Thread Ashley Sheridan
On Wed, 2009-06-10 at 12:59 -0400, Fernando G wrote: Hello, I am sending an html message with and embedded image using the following code: // Read message from html template $message = fread(template.html, filesize(template.html)); // I replace the values in $message that are necessary

Re: [PHP] Mail function and hotmail

2009-06-10 Thread Richard Heyes
Hi, ... Use something that is already proven to work. It will save you an awful lot of time. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate

RE: [PHP] Mail function and hotmail

2009-06-10 Thread Fernando G
I have not idea of what else to use. Your suggestions are appreciated. Fernando. Date: Wed, 10 Jun 2009 18:04:31 +0100 From: rich...@php.net To: jfer...@hotmail.com CC: php-general@lists.php.net Subject: Re: [PHP] Mail function and hotmail Hi, ... Use something that is already

Re: [PHP] Mail function and hotmail

2009-06-10 Thread Bastien Koert
On Wed, Jun 10, 2009 at 1:11 PM, Fernando Gjfer...@hotmail.com wrote: I have not idea of what else to use.  Your suggestions are appreciated. Fernando. Date: Wed, 10 Jun 2009 18:04:31 +0100 From: rich...@php.net To: jfer...@hotmail.com CC: php-general@lists.php.net Subject: Re: [PHP

Re: [PHP] Mail function and hotmail

2009-06-10 Thread Richard Heyes
Hi, pear's mime mail I believe I had a hand in that too. It's like a bad rash - it gets everywhere... :-) -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 6th June) PHP mail: RMail (www.phpguru.org/rmail) PHP datagrid: RGrid (www.phpguru.org/rgrid) PHP Template: RTemplate

RE: [PHP] Mail function and hotmail

2009-06-10 Thread Fernando G
Thanks. I'll check that out. Date: Wed, 10 Jun 2009 18:24:45 +0100 Subject: Re: [PHP] Mail function and hotmail From: rich...@php.net To: phps...@gmail.com CC: jfer...@hotmail.com; php-general@lists.php.net Hi, pear's mime mail I believe I had a hand in that too. It's like a bad

Re: [PHP] Mail function and hotmail

2009-06-10 Thread Sudheer Satyanarayana
Richard was likely suggestion his mail example as listed in his signature Other options include phpmailer pear's mime mail various other classes available www.phpclasses.org Fernando, I recommend you check out the various PHP frameworks out there. Instead of randomly searching for

RE: [PHP] Mail function and hotmail

2009-06-10 Thread Fernando G
Thank you. I'm looking at PEAR Mail_mime right now. It seems promising. Fernando. Date: Wed, 10 Jun 2009 23:14:11 +0530 From: sudhee...@binaryvibes.co.in To: phps...@gmail.com CC: jfer...@hotmail.com; rich...@php.net; php-general@lists.php.net Subject: Re: [PHP] Mail function and hotmail

Re: [PHP] mail body not decoded by base64_decode

2009-06-02 Thread Manuel Lemos
Hello, on 05/29/2009 12:15 AM vuthecuong said the following: Hi all I'm using below function to send Japanese mail, mail clients such as outlook etc displayed Japanese text withou problems but if I viewed JP mail via web-based mail such as Gmail, the JP subject is normally displayed, however

Re: [PHP] Mail subject encoding breaks

2009-05-12 Thread Tom Worster
On 5/11/09 11:58 AM, Thodoris t...@kinetix.gr wrote: On 11 May 2009 at 18:25, Thodoris wrote: Hi gang, I am using phpmailer to send some mail notifications in an intranet I've made. This is a sample code: $e-Subject = This is δφκξγκδφη garbidge κηδφκξγσ; Hi,

Re: [PHP] Mail subject encoding breaks

2009-05-11 Thread Ian
On 11 May 2009 at 18:25, Thodoris wrote: Hi gang, I am using phpmailer to send some mail notifications in an intranet I've made. This is a sample code: $e-Subject = This is δφκξγκδφη garbidge κηδφκξγσ; Hi, I have had success with this in the past: $subject= This is δφκξγκδφη

Re: [PHP] Mail subject encoding breaks

2009-05-11 Thread Thodoris
On 11 May 2009 at 18:25, Thodoris wrote: Hi gang, I am using phpmailer to send some mail notifications in an intranet I've made. This is a sample code: $e-Subject = This is δφκξγκδφη garbidge κηδφκξγσ; Hi, I have had success with this in the past: $subject=

Re: [PHP] MAIL Error

2009-04-24 Thread Jan G.B.
2009/4/22 Daniel Brown danbr...@php.net: On Wed, Apr 22, 2009 at 12:31, Jan G.B. ro0ot.w...@googlemail.com wrote: I believe that you all should just overread the huge signature. You've wasted a lot bandwidth with this discussion about the signature. :-) It's not interesting. You could have

Re: [PHP] MAIL Error

2009-04-24 Thread Jan G.B.
2009/4/22 tedd tedd.sperl...@gmail.com: At 6:31 PM +0200 4/22/09, Jan G.B. wrote: I believe that you all should just overread the huge signature. You've wasted a lot bandwidth with this discussion about the signature. :-) It's not interesting. You could have send your pointless replies to

Re: [PHP] MAIL Error

2009-04-24 Thread tedd
At 11:13 AM +0200 4/24/09, Jan G.B. wrote: 2009/4/22 tedd tedd.sperl...@gmail.com: Your opinion as to IF I should say something, or not, carries little weight. When you've donated enough time helping others on this list, then perhaps that will change. Sorry, but that's a bad attitude in

Re: [PHP] MAIL Error

2009-04-24 Thread Bastien Koert
On Fri, Apr 24, 2009 at 10:03 AM, tedd tedd.sperl...@gmail.com wrote: At 11:13 AM +0200 4/24/09, Jan G.B. wrote: 2009/4/22 tedd tedd.sperl...@gmail.com: Your opinion as to IF I should say something, or not, carries little weight. When you've donated enough time helping others on this

Re: [PHP] MAIL Error

2009-04-24 Thread Jan G.B.
2009/4/24 Bastien Koert phps...@gmail.com: On Fri, Apr 24, 2009 at 10:03 AM, tedd tedd.sperl...@gmail.com wrote: Whereas, your opinion doesn't matter much because you haven't contributed anything I can remember Tedd, it's not my problem that your sight is limited. I don't believe the

RE: [PHP] MAIL Error

2009-04-22 Thread tedd
At 10:45 AM +0530 4/22/09, ramesh.marimu...@wipro.com wrote: Yeah its all garbage. But its from the company. I don't know how to trim it. Can anyone suggest? First, tell your company that they are making a fool of themselves on the net and do they want to continue the practice? After all,

Re: [PHP] MAIL Error

2009-04-22 Thread Jan G.B.
I believe that you all should just overread the huge signature. You've wasted a lot bandwidth with this discussion about the signature. :-) It's not interesting. You could have send your pointless replies to the person, skipping the mailing list, so that we aren't annoyed by your drivel which is

Re: [PHP] MAIL Error

2009-04-22 Thread Daniel Brown
On Wed, Apr 22, 2009 at 12:31, Jan G.B. ro0ot.w...@googlemail.com wrote: I believe that you all should just overread the huge signature. You've wasted a lot bandwidth with this discussion about the signature. :-) It's not interesting. You could have send your pointless replies to the person,

  1   2   3   4   5   6   7   8   9   10   >