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

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

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

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

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

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 (http://w

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

Re: [PHP] mail function problem

2007-07-03 Thread Chris
Try this: Note Same result : "NOK /usr/lib/sendmail -t -i" I think the problem is not in the test script. Is that the right path? Normally it's /usr/sbin/sendmail not /usr/lib . -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.ne

Re: [PHP] mail function problem

2007-07-04 Thread web2
Chris a écrit : Try this: Note Same result : "NOK /usr/lib/sendmail -t -i" I think the problem is not in the test script. Is that the right path? Normally it's /usr/sbin/sendmail not /usr/lib . Yes, /usr/sbin/sendmail is a link to /usr/lib/sendmail. I've made tests and with the ph

Re: [PHP] mail function problem

2007-07-04 Thread Chris
web2 wrote: Chris a écrit : Try this: Note Same result : "NOK /usr/lib/sendmail -t -i" I think the problem is not in the test script. Is that the right path? Normally it's /usr/sbin/sendmail not /usr/lib . Yes, /usr/sbin/sendmail is a link to /usr/lib/sendmail. I've made tests an

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

Re: [PHP] mail function problem

2007-07-05 Thread web2
Chris a écrit : web2 wrote: Chris a écrit : Try this: Note Same result : "NOK /usr/lib/sendmail -t -i" I think the problem is not in the test script. Is that the right path? Normally it's /usr/sbin/sendmail not /usr/lib . Yes, /usr/sbin/sendmail is a link to /usr/lib/sendmail. I

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

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 Genera

Re: [PHP] Mail function problems

2006-03-20 Thread Richard Lynch
On Windows, you need SMTP set. If you can't set it in php.ini, you might try .htaccess, but I suspect that is locked down and you can't... You could try things like: Install Pegasus email client, and use it from http://php.net/exec to send email. Install some kind of class from http://phpclass

Re: [PHP] Mail Function Parameters

2003-01-23 Thread Petre Agenbag
You have to use sendmail with the -f flag. I have written a small test util to do this: On Thu, 2003-01-23 at 16:12, Adam Voigt wrote: > I have a site with a PHP auto-mailer where the owner of the site gets a > report > generated from the DB, it all works fine, except his server has spam > fil

Re: [PHP] mail() function failure

2003-08-14 Thread Jason Wong
On Thursday 07 August 2003 23:19, Brad Esclavon wrote: > I have made a simple script to mail an email to a person on my domain. i > have tested the script with different values and i still cannot get the > email. when i execute the mail function, it returns true, so i know it gets > to the mail ser

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: mail($email, $subject, $message, $headers); ?> -- It doesn't work... C

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

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

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

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 ser

Re: [PHP] mail function. not working

2001-05-19 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Richard Kurth) wrote: > Way does this not work it sends to the recipient but it will not > send to the bcc this is right out of the manual. > $recipient .= "[EMAIL PROTECTED]"; > $subject = "Hello"; > $message .= "The is the message\n"; > $m

Re: [PHP] mail function() with MS

2002-12-06 Thread Marek Kilimajer
Your ISP should set it up, if not, I believe there is a class that can comunicate with SMTP server directly, check www.phpclasses.org Anthony Ritter wrote: Hi, I'm using MS Win 98 and my ISP has PHP installed on a MS server. I'd like to display a HTML form box on my site for users to type in a

Re: [PHP] mail function() with MS

2002-12-06 Thread DL Neil
Hi Anthony, > I'm using MS Win 98 and my ISP has PHP installed on a MS server. > I'd like to display a HTML form box on my site for users to type in a > message utilizing the PHP mail() function. > > I've tested this using Apache on my drive with a html form and a php script > to receive the data

Re: [PHP] mail function() with MS

2002-12-06 Thread Anthony Ritter
- Original Message - From: "DL Neil" <[EMAIL PROTECTED]> To: "Anthony Ritter" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, December 06, 2002 8:47 AM Subject: Re: [PHP] mail function() with MS > Hi Anthony...{snipped] .

Re: [PHP] mail function() with MS

2002-12-06 Thread DL Neil
Hi Anthony > Qusetion: 1: > What would happen if I changed the php.ini settings to: > SMTP=mail.yourisp.com > sendmail_from=MyAddress@MyDomain > as opposed to: > >SMTP=smtp.ISPs.domain =as long as the SMTP server is accessible and you have access rights, then it can be anyone's/anywhere... > >

RE: [PHP] mail() function 30minute delay??

2001-07-11 Thread Matthew Loff
Sendmail should (by default) attempt to send the mail immediately... If it can't deliver it on that attempt, then it should be queued to send again later (30 mins?)... Unless you've configured sendmail differently, it should attempt to deliver as soon as the mail is sent from PHP. You can re

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

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 (www.phpguru.org

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, > > &g

Re: [PHP] Mail function and hotmail

2009-06-10 Thread Bastien Koert
On Wed, Jun 10, 2009 at 1:11 PM, Fernando G 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@l

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

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 >

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 clas

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: [PH

RE: [PHP] Mail function and hotmail

2009-06-11 Thread Fernando G
OS 5.3), however, when I send the message from my development machine (Visata Ultimate SP1) it does work correctly on hotmail address . Both machines are running php 5.2 and have the same PEAR packages. I tried Gmail, Yahoo mail and Thunderbird and they work fine. Your help will be much apprecia

RE: [PHP] Mail function and hotmail

2009-06-11 Thread Fernando G
. Thank you for all your help. Fernando. > From: jfer...@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 > > > He

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 mai

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Richard Quadling
On 7 March 2010 04:54, 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

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 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 email. > [...] >

Re: [PHP] Mail Function In PHP

2010-03-08 Thread Richard Quadling
On 8 March 2010 13:06, Teus Benschop 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 email. > [...] > > Wh

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

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 unl

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

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 n

Re: [PHP] Mail Function In PHP

2010-03-08 Thread james . stojan
Date: Mon, 8 Mar 2010 10:21:53 To: Kannan Cc: Subject: Re: [PHP] Mail Function In PHP On 7 March 2010 04:54, 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

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 hundred

Re: [PHP] mail function and headers

2008-03-12 Thread Daniel Brown
On Wed, Mar 12, 2008 at 10:28 AM, Alain Roger <[EMAIL PROTECTED]> wrote: > Hi, > > i'm playing a little bit with the mail function from PHP 5.2.4 and email > headers. > here is a snippet of my code: > > > $headers = 'From: '.$email."< ".$fromname." > > >\r\n".'Reply-To:'.$email."\r\n".'X-Maile

Re: [PHP] mail function and headers

2008-03-12 Thread spacemarc
2008/3/12, Daniel Brown <[EMAIL PROTECTED]>: > You have the From: header parameters reversed. Try this: > >$headers = "From: ".$fromname." <".$email.">\r\n"; > $headers .= "Reply-To: ".$email."\r\n"; > $headers .= "X-Mailer: PHP/".phpversion()."\r\n"; > /* > > */ > ?> you c

Re: [PHP] mail function and headers

2008-03-12 Thread Alain Roger
ok i will try... what about UTF-8 to ensure unicode ? my website and especially the form which will send this email, will be filled in by several nationalities... spanish, english, french, slovak, german,,... so isn't it easier to set up utf-8 ? A. On Wed, Mar 12, 2008 at 4:11 PM, spacemarc <[EMA

Re: [PHP] mail function and headers

2008-03-12 Thread Alain Roger
ok, so this is what i got and it is still remaining... :-( Received: from serdev ([127.0.0.1]) by home.com with MailEnable ESMTP; Wed, > 12 Mar 2008 16:40:18 +0100 > Date: Wed, 12 Mar 2008 16:40:18 +0100 > Subject: subject 3 > To: [EMAIL PROTECTED] > From: raf, news <[EMAIL PROTECTED]> > Reply-To:

Re: [PHP] mail function and headers

2008-03-12 Thread Chris
as you can see my Return-Path is still pointing on the wrong direction :-( any other idea ? return-path is set with the 5th mail() param: mail($to, $subject, $body, $headers, '[EMAIL PROTECTED]'); -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http:

Re: [PHP] mail function and headers

2008-03-12 Thread Alain Roger
Hi Chris, interesting thing, but i get the following error message : *Warning*: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in */test4/common/sendmail.php* on line *119* how can i solve this b

Re: [PHP] mail function and headers

2008-03-13 Thread Chris
Alain Roger wrote: Hi Chris, interesting thing, but i get the following error message : *Warning*: mail() [function.mail ]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in */test4/common/sendmail.php* on line *119

Re: [PHP] mail function and headers

2008-03-13 Thread Alain Roger
hiChris, i've read several forums where this mail() function from PHP initial package is not so great. Therefore a lot of people use PHPMailer which is more convenient for that purpose...especially more flexible. thanks a lot for your help. Alain On Thu, Mar 13, 2008 at 8:35 AM, Chris <[EMAIL P

Re: [PHP] mail function and headers

2008-03-13 Thread Chris
Alain Roger wrote: hiChris, i've read several forums where this mail() function from PHP initial package is not so great. mail() works fine. phpmailer (and zendmailer, swiftmailer and other such packages) help you with things like: - sending through an smtp server - putting a multipart em

RE: [PHP] Mail function doesn't work

2007-11-05 Thread Jay Blanchard
[snip] What could happen that my mail function isn't working. I check twice my php.ini conf and it's fine. I test sendmail manually and it's OK. I also try to send mails with sendmail stoped and started and nothing happen [/snip] Can we see your code? -- PHP General Mailing List (http://www.php

Re: [PHP] Mail function doesn't work

2007-11-05 Thread Per Jessen
Alberto García Gómez wrote: > What could happen that my mail function isn't working. I check twice > my php.ini conf and it's fine. I test sendmail manually and it's OK. I > also try to send mails with sendmail stoped and started and nothing > happen Does your mail-server otherwise work? /Per

Re: [PHP] Mail function doesn't work

2007-11-05 Thread Jim Lucas
Alberto García Gómez wrote: What could happen that my mail function isn't working. I check twice my php.ini conf and it's fine. I test sendmail manually and it's OK. I also try to send mails with sendmail stoped and started and nothing happen Este correo ha sido enviado desde el Politécnico de

Re: [PHP] mail function in 4.2.2

2006-06-01 Thread chris smith
On 6/1/06, Aaron Todd <[EMAIL PROTECTED]> wrote: I am working with a server that has version 4.2.2 on it. I know...I know...its old. Its my ISPs server so I don't have too much control over it. Anyway, I am seeing a problem where when I use the mail function to send out an email only some of

Re: [PHP] mail function in 4.2.2

2006-06-01 Thread Aaron Todd
Thanks for the reply. I'll ask the ISP about throtteling next time I talk with them. I would also like to mention that I am also getting intermitent results when just sending a single email. One if the web pages I am testing is a support request form. When the form is submitted it sends an e

Re: [PHP] mail function in 4.2.2

2006-06-01 Thread Chris
Aaron Todd wrote: Thanks for the reply. I'll ask the ISP about throtteling next time I talk with them. I would also like to mention that I am also getting intermitent results when just sending a single email. One if the web pages I am testing is a support request form. When the form is sub

RE: [PHP] mail function error - win32

2003-11-01 Thread Julien Wadin
When you use the mail function, you must give the first argument. The 'to' is not in the headers Try this, it should work -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : samedi 1 novembre 2003 22:11 À : [EMAIL PROTECTED] Objet : [PHP] mail function error - win3

Re: [PHP] mail() function on linux

2005-01-18 Thread Richard Lynch
Nicolae Serban wrote: > I have this code to send an e-mail !!! > > $ok=mail($dest, $subject, $mesaj, > "From: $expe\r\n" > ."Reply-To: $expe\r\n" > ."X-Mailer: PHP/" . phpversion()); > > It works on windows, i must change something to work on linux

Re: [PHP] mail() function not working

2004-07-31 Thread raditha dissanayake
Robin Wilson wrote: Hi I am not a php programmer but have installed a php based blog. When the php script tries to use the mail() function it fails. what error message does it produce? Does the mail function rely on the sendmail server? no works with any mta. Is there a way to make the mail() fun

Re: [PHP] mail() function not working

2004-07-31 Thread Matthew Sims
> Hi > > I am not a php programmer but have installed a php based blog. When the > php > script tries to use the mail() function it fails. Does the mail function > rely on the sendmail server? Is there a way to make the mail() function > just > send via an external smtp server? > > Thanks in advanc

Re: [PHP] mail() function not working

2004-07-31 Thread Justin Patrin
On Sat, 31 Jul 2004 16:15:41 +0100, Robin Wilson <[EMAIL PROTECTED]> wrote: > Hi > > I am not a php programmer but have installed a php based blog. When the php > script tries to use the mail() function it fails. Does the mail function > rely on the sendmail server? Is there a way to make the mail

Re: [PHP] Mail() function performance/optimization question

2002-05-21 Thread Miguel Cruz
What platform and MTA are you using? Your MTA may be trying to handle the message while-u-wait rather than queuing it properly. miguel On Tue, 21 May 2002, Wesley Furgiuele wrote: > Adding a mail() step to my page increases the page load time from an average > of about 2 seconds to nearly 8 se

Re: [PHP] Mail() function performance/optimization question

2002-05-21 Thread Wesley Furgiuele
I am in a shared hosting environment. Here's the info I grab from phpinfo(): SunOS admin 5.7 Generic_106541-16 sun4u sparc SUNW,UltraAX-MP sendmail_path: /usr/lib/sendmail -t SMTP: localhost I don't yet know what the "-t" flag means on the Sendmail path. Also, I included the SMTP value but I a

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 PEA

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: ' . "\r\n"; Which I suggested on your previous thread. Also, I see you have $from set

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 throwi

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 "" . $mail->getMessage() . OAN - That sendmail script I posted, I know works on L

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

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 -- WWW: http://plphp.dk / http://plind.dk LinkedIn: http://www.linkedin.com/in/pli

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

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

Re: [PHP] Mail Function Using PEAR Issues

2010-04-20 Thread Ken Guest
On Tue, Apr 20, 2010 at 2:10 AM, David McGlone 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 anything els

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 t

Re: [PHP] Mail Function Using PEAR Issues

2010-04-20 Thread Peter Lind
On 20 April 2010 20:17, Alice Wei 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

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 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...@alu

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-21 Thread Peter Lind
On 21 April 2010 04:25, Alice Wei 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'? -- WWW: http://plphp.dk / http://plind.dk Link

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

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 wrote: > > Well, fro

Re: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Peter Lind
On 21 April 2010 18:44, Alice Wei wrote: > I have mentioned several posts earlier that I have done nothing about my > php.ini file. From what you said, since I use U-Verse, am I supposed to do > something as described here: > http://helpme.att.net/pdf/uverse/uverse_hsi_qsg_english.pdf > > > > I th

RE: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Alice Wei
> From: peter.e.l...@gmail.com > Date: Wed, 21 Apr 2010 21:51:31 +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 18:44, Alice Wei wrote: > > I h

Re: [PHP] Mail Function Using PEAR Issues

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

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 wrote: > >> From: peter.e.l...@gmail.com > >

Re: [PHP] Mail Function Using PEAR Issues

2010-04-21 Thread Ken Guest
d 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 wrote: > >> Date: Wed, 21 Apr 2010 22:01:03 +0200 >> Subject: Re: [PHP] Mail Function Using PEAR Iss

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 p

Re: [PHP] Mail function undefined in PHP6

2007-03-17 Thread Robert Cummings
On Sat, 2007-03-17 at 11:07 +0100, Tijnema ! wrote: > Hi, > > I have PHP6 installed (Snapshot:200703141130) and somehow it says now > that the mail function is undefined, i have sendmail installed in /usr > (is in $PATH) > my configure command: > > './configure' '--prefix=/usr' '--with-pear' '--e

Re: [PHP] Mail function undefined in PHP6

2007-03-17 Thread Tijnema !
On 3/17/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Sat, 2007-03-17 at 11:07 +0100, Tijnema ! wrote: > Hi, > > I have PHP6 installed (Snapshot:200703141130) and somehow it says now > that the mail function is undefined, i have sendmail installed in /usr > (is in $PATH) > my configure comman

Re: [PHP] mail function-new line-security

2005-09-28 Thread Peppy
AJ, So what your reply means is that I should not have a new line character in any variable on my page??? Then is there any way to format the email so it is readable? Thanks.

Re: [PHP] mail function-new line-security

2005-09-29 Thread Torgny Bjers
Peppy wrote: > AJ, > > So what your reply means is that I should not have a new line character in > any variable on my page??? Of course you can have newlines in your email message, just make sure that any user input is received through POST, and that you run a regular expression to validate tha

<    1   2   3   >