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

2010-12-02 Thread Daniel P. Brown
2010/12/2 Michael Crowl : > > 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: -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http:

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

2010-12-02 Thread Peter Lind
2010/12/2 Michael Crowl : * 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 me: connect to

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 wrote: > 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
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 wrote: > After a long del

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-10-26 Thread John Black
Bob McConnell wrote: I strongly recommend you call the help desk at Shaw and ask them to explain what is happening. They should know what is going on with their servers. Everyone on this list appears to be guessing at the problem, which is not likely to help you. But they are educated guesses :

RE: [PHP] php mail() function

2009-10-26 Thread Bob McConnell
From: James Prentice > I have tried setting both $to and $email to be the same shaw address > since I assumed it should be recognized by the mail server, but it's > still getting bounced. So why is 'www-d...@homemade' being listed as > the sender? Any ideas? I strongly recommend you call the help

Re: [PHP] php mail() function

2009-10-24 Thread James Prentice
But it seems like the 'From:' address being given to the PHP mail() function is maybe being ignored, because the error log lists 'www-d...@homemade' as being the sender, rather than listing the shaw address. The snippet from the PHP code: $email = $_POST['email']; ... mail($to, $subject, $msg, 'F

Re: [PHP] php mail() function

2009-10-24 Thread James Prentice
I also suspect that the problem is due to the sender address, but I have tried using the shaw email address for the From: address that's given to the mail() function and it still gets bounced. It seems like the ISP should consider that address valid. On Sat, Oct 24, 2009 at 2:20 PM, Per olof Lju

Re: [PHP] php mail() function

2009-10-24 Thread Per olof Ljungmark
James Prentice wrote: It sends the bounced message to /var/mail/www-data and I get this: --19BE8A70109.1256417846/homemade Content-Description: Delivery report Content-Type: message/delivery-status Reporting-MTA: dns; homemade X-Postfix-Queue-ID: 19BE8A70109 X-Postfix-Sender: rfc822; www-d...@h

Re: [PHP] php mail() function

2009-10-24 Thread James Prentice
It sends the bounced message to /var/mail/www-data and I get this: --19BE8A70109.1256417846/homemade Content-Description: Delivery report Content-Type: message/delivery-status Reporting-MTA: dns; homemade X-Postfix-Queue-ID: 19BE8A70109 X-Postfix-Sender: rfc822; www-d...@homemade Arrival-Date: Sa

Re: [PHP] php mail() function

2009-10-24 Thread John Black
James Prentice wrote: > Also, I notice that in the mail.log file, the 'from:' value is 'www-d...@homemade'. The actual 'from:' value is provided to the php mail() function via a web form, so should be somebody's email address (e.g. my own in this case). I think PHP will use the apache user and

Re: [PHP] php mail() function

2009-10-24 Thread James Prentice
Thanks, John. I set up the sasl_passwd file as per your instructions but am still getting status=bounced. I'm wondering, what should the values in main.cf be for 'myhostname' and 'mydestination'? These pages give some info on the Shaw mail servers, but I'm not certain which I should be using: htt

Re: [PHP] php mail() function

2009-10-24 Thread John Black
Paul M Foster wrote: > 4. All due respect to Kranthi, but I believe he's wrong about relaying mail from your webserver to the ISP's mailserver. I believe the ISP's mailserver doesn't care, as long as the mail comes from your "pipe". You could probably call yourself "pi...@pepperoni.com" and your

Re: [PHP] php mail() function

2009-10-23 Thread Paul M Foster
On Fri, Oct 23, 2009 at 09:11:25PM -0700, James Prentice wrote: > I found the mail server for my ISP (shawmail.vc.shawcable.net) and > edited main.cf in the following manner: > > myhostname = shawcable.net > relayhost = [shawmail.vc.shawcable.net] > > I still don't receive the mail from the PHP

Re: [PHP] php mail() function

2009-10-23 Thread kranthi
i never worked with postfix, but form my experience with hmail server i can say that you need to relay through a mail account of ISP(not the server itself) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php mail() function

2009-10-23 Thread James Prentice
I found the mail server for my ISP (shawmail.vc.shawcable.net) and edited main.cf in the following manner: myhostname = shawcable.net relayhost = [shawmail.vc.shawcable.net] I still don't receive the mail from the PHP script though. The error log from /var/log/mail.log is this: Oct 23 21:00:31 h

RE: [PHP] php mail() function

2009-10-23 Thread Bob McConnell
From: Paul M Foster > Regarding the rejection of dynamic IPs by smarthosts, are you saying > that it's a "blacklist" of sorts that lets them know an IP is dynamic? > (Serious question. I don't know the mechanism by which they determine > what is and isn't a dynamic IP.) You are talking about two

Re: [PHP] php mail() function

2009-10-23 Thread John Black
Paul M Foster wrote: Regarding the rejection of dynamic IPs by smarthosts, are you saying that it's a "blacklist" of sorts that lets them know an IP is dynamic? (Serious question. I don't know the mechanism by which they determine what is and isn't a dynamic IP.) I run my own mail server and us

Re: [PHP] php mail() function

2009-10-22 Thread kranthi
i faced the same problem quite a few times. the general email route is php script -> sender smtp server -> receiving mail server in your case path 2 is broken. meaning port 25 is blocked by your ISP the work around is: 1. see if your ISP provides you with an SMTP account that is not blocked (OR)

Re: [PHP] php mail() function

2009-10-22 Thread Paul M Foster
On Thu, Oct 22, 2009 at 11:40:34PM -0500, Shawn McKenzie wrote: > This is fairly accurate in premise but just to clarify. Mailservers > don't operate like this by default and there is really no "trust". > There are public blacklists that a mailserver can be configured to use > that tell the mai

Re: [PHP] php mail() function

2009-10-22 Thread Shawn McKenzie
Paul M Foster wrote: > On Thu, Oct 22, 2009 at 06:24:14PM -0700, James Prentice wrote: > > One other note. People look at me like I'm crazy when I mention this, > but I've seen it quite a bit at various internet mail servers. > Sometimes, in order to accept email from you, the internet mail server

Re: [PHP] php mail() function

2009-10-22 Thread Paul M Foster
On Thu, Oct 22, 2009 at 06:24:14PM -0700, James Prentice wrote: > How would I determine my ISP's SMPT server ID? And do I need to edit > main.cf in order to use that server? What ID? There's no ID needed. You just configure postfix to relay any non-local mail sent to it to the SMTP server at your

Re: [PHP] php mail() function

2009-10-22 Thread James Prentice
How would I determine my ISP's SMPT server ID? And do I need to edit main.cf in order to use that server? Also, is there a way to test the script just sending an email locally? I tried sending the email to use...@localhost, but the email was still not received. On Thu, Oct 22, 2009 at 4:15 PM,

Re: [PHP] php mail() function

2009-10-22 Thread LinuxManMikeC
The problem is you won't be trusted to deliver mail directly to most mail servers unless you have a static IP. Even then thats no guarantee. What you have to do is relay through your ISP's SMTP server where you're "trusted". You should also be able to setup PHP to use your ISP's SMTP server and

RE: [PHP] PHP Mail Function

2009-06-21 Thread Ashley Sheridan
On Sat, 2009-06-20 at 20:30 -0600, David Swenson wrote: > Julian, > > From my understanding of PHP's mail() function, it doesn't do anything > more than send to the address you specified. > > On that note, I'd check things like: > Email address typos > The email your sending to your domain, is it

RE: [PHP] PHP Mail Function

2009-06-20 Thread David Swenson
Julian, >From my understanding of PHP's mail() function, it doesn't do anything more than send to the address you specified. On that note, I'd check things like: Email address typos The email your sending to your domain, is it already being forwarded? If so, do you get the email at your gmail acc

Re: [PHP] php+mail+TLS/SSL

2008-02-14 Thread Richard Lynch
On Thu, February 14, 2008 8:34 am, julian wrote: > I am using phpmailer currently to send email from my applications. My > ISP is restricting the usage of email without SSL/TLS and my SMTP > connections have started to fail... > > Any hints on the best approach to send email from php appplciations

Re: [PHP] php+mail+TLS/SSL

2008-02-14 Thread Per Jessen
julian wrote: > I am using phpmailer currently to send email from my applications. My > ISP is restricting the usage of email without SSL/TLS and my SMTP > connections have started to fail... > > Any hints on the best approach to send email from php appplciations ?, I think the best way is to ha

Re: [PHP] PHP mail with attachment

2007-07-16 Thread Richard Heyes
Use something like http://phpmailer.sf.net/ which handles everything for you already :) Or: http://www.phpguru.org/static/htmlMimeMail5.html and http://www.phpguru.org/downloads/html.mime.mail/ -- Richard Heyes +44 (0)844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and Help

Re: [PHP] PHP mail with attachment

2007-07-15 Thread Chris
Vanessa Vega wrote: Hello to everyone!..I had problems with attaching a document to an email using PHP..can somebody share some ideas on how to properly do it? Use something like http://phpmailer.sf.net/ which handles everything for you already :) -- Postgresql & php tutorials http://www.de

Re: [PHP] PHP mail() problem

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 4:54 am, Delta Storm wrote: Disclosure: What I understand of Unicode could fit in a matchbook... > I'm having problem with character encoding in PHP mail functions. > > CODE: > $headers.= "Content-Type: text/html; charset=iso-8859-1"; > $headers .= "MIME-Versi

Re: [PHP] PHP mail() problem

2007-03-20 Thread Puskás Zsolt ( Errotan )
Hi. Recently I have this kind of issue. This is a possible solution: $text="message text"; $subject="message subject"; $header="From: [EMAIL PROTECTED]". "MIME-Version: 1.0\r\n". "Content-type: text/html; charset=utf-8\r\n". "Content-Transfer-Encoding: 8bit\r\n"; $subjec

Re: [PHP] PHP mail() problem

2007-03-20 Thread Németh Zoltán
2007. 03. 20, kedd keltezéssel 10.54-kor Delta Storm ezt írta: > Hi, > > I'm having problem with character encoding in PHP mail functions. > > CODE: > $headers.= "Content-Type: text/html; charset=iso-8859-1"; > $headers .= "MIME-Version: 1.0 "; > $headers .= "Content-T

Re: [PHP] php mail function vs smtp server

2005-10-31 Thread Richard Lynch
On Mon, October 31, 2005 5:22 am, Paul Waring wrote: > On Mon, Oct 31, 2005 at 12:56:01PM +0200, Clive wrote: >> Thanks I actually want to send 24 000 emails with 2 meg attachments. Woof. mail() is DEFINITELY the wrong answer! Firing up an SMTP connection and spewing 24,000 emails with 2 meg att

Re: [PHP] php mail function vs smtp server

2005-10-31 Thread Richard Lynch
On Mon, October 31, 2005 4:10 am, Clive wrote: > does anyone know whats better/uses less resource etc: > > If I run a loop to send a 1000 emails, should I use php's mail > fucntions > or send directly to the servers smtp server. SMTP PHP's mail() function was never designed for high-volume email.

Re: [PHP] php mail function vs smtp server

2005-10-31 Thread Paul Waring
On Mon, Oct 31, 2005 at 12:56:01PM +0200, Clive wrote: > Thanks I actually want to send 24 000 emails with 2 meg attachments. Oh. You definitely don't want to be using an external SMTP server if you can help it then, and you should really be splitting those up into chunks (no more than 1,000 at a

Re: [PHP] php mail function vs smtp server

2005-10-31 Thread Marcus Bointon
On 31 Oct 2005, at 10:34, Richard Heyes wrote: Depends on your setup. If you're on Linux/Unix you could use the mail() function along with the "-odq" option to Sendmail/Postfix/ Exim etc (fifth argument to the mail() function) which will dump all the mails into the MTAs queue. After this, th

Re: [PHP] php mail function vs smtp server

2005-10-31 Thread Paul Waring
On Mon, Oct 31, 2005 at 12:38:09PM +0200, Clive wrote: > what I mean is: im using a class called phpmailer and it has the option > to sent to a smtp server, I suppose this means that they do open a > socket to the smtp server. All that means is that you can specify an external SMTP server (e.g.

Re: [PHP] php mail function vs smtp server

2005-10-31 Thread Richard Heyes
Clive wrote: Hi does anyone know whats better/uses less resource etc: If I run a loop to send a 1000 emails, should I use php's mail fucntions or send directly to the servers smtp server. Depends on your setup. If you're on Linux/Unix you could use the mail() function along with the "-odq"

Re: [PHP] php mail function vs smtp server

2005-10-31 Thread Richard Davey
Hi Clive, Monday, October 31, 2005, 10:10:02 AM, you wrote: > does anyone know whats better/uses less resource etc: > If I run a loop to send a 1000 emails, should I use php's mail fucntions > or send directly to the servers smtp server. Use PEAR Mail Queue. Cheers, Rich -- Zend Certified En

Re: [PHP] php mail function vs smtp server

2005-10-31 Thread Paul Waring
On Mon, Oct 31, 2005 at 12:10:02PM +0200, Clive wrote: > does anyone know whats better/uses less resource etc: > > If I run a loop to send a 1000 emails, should I use php's mail fucntions > or send directly to the servers smtp server. What do you mean by "send directly"? Are you thinking of send

Re: [PHP] PHP mail

2005-05-05 Thread bala chandar
Hi On 5/5/05, Aaron Gould <[EMAIL PROTECTED]> wrote: > Eustace wrote: > > I am relatively new to PHP and could use some help. I have a form, which is > > basically in an email format, from, subject, and message. How do I then send > > this to an email? I know a bit about the mail function, somebo

Re: [PHP] PHP mail

2005-05-05 Thread Philip Hallstrom
I am relatively new to PHP and could use some help. I have a form, which is basically in an email format, from, subject, and message. How do I then send this to an email? I know a bit about the mail function, somebody show me the ropes please! See the example here: http://us2.php.net/manual/en/func

Re: [PHP] PHP mail

2005-05-05 Thread Aaron Gould
Eustace wrote: I am relatively new to PHP and could use some help. I have a form, which is basically in an email format, from, subject, and message. How do I then send this to an email? I know a bit about the mail function, somebody show me the ropes please! Eustace Everything you need to know shou

Re: [PHP] PHP - mail problems - HELP!!! PLEASE

2005-01-15 Thread John Hicks
Kelly wrote: I am having trouble with PHP 5.0.3. I am running Apache 1.3.29. I am running Solaris 9 x86 on an Intel box. I get no errors when I start Apache. I get no errors when I run configtest. My problem is mail() does not work. It does invoke sendmail as there is activity in sendmail

Re: [PHP] php mail

2004-12-13 Thread Richard Lynch
PHPDiscuss - PHP Newsgroups and mailing lists wrote: > I have a dedicated Red Hat linux boxed leased from Interland and the php > mail function does not work. I have found several articles on things to > try and have tried everything I saw but to no avail. I set up a php > script to mail and then

Re: [PHP] Php Mail not working properly

2004-12-10 Thread Matthew Sims
> I have a dedicated Red Hat linux boxed leased from Interland and the php > mail function does not work. I have found several articles on things to > try and have tried everything I saw but to no avail. I set up a php > script to mail and then print the return code and I get a 1 (success). > But

Re: [PHP] PHP mail redirect ??

2004-12-01 Thread Michael Gale
would check the documentation for your spam filter for most of the "redirection" you would like to do. Warren Vail (415) 667-0240 SF211-07-434 -Original Message- From: Michael Gale [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 7:48 PM To: Vail, Warren; [EMAIL PRO

RE: [PHP] PHP mail redirect ??

2004-12-01 Thread Vail, Warren
om: Michael Gale [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 01, 2004 7:48 PM > To: Vail, Warren; [EMAIL PROTECTED] > Subject: Re: [PHP] PHP mail redirect ?? > > > Hello, > > There is another smtp server ... I should of provided > more info ... >

Re: [PHP] PHP mail redirect ??

2004-12-01 Thread Michael Gale
Hello, There is another smtp server ... I should of provided more info ... I set up a postfix server to do the following: 1. Receives mail from outside ... if it is NOT spam 2. Virus scanned and then forward to exchange if it IS SPAM 2. Sent to a virtual type mail box and virus scanned. Thi

RE: [PHP] PHP mail redirect ??

2004-12-01 Thread Vail, Warren
> But I want a redirect button so I could send the exact same > message to > the same user and from the same person just but to another > mail box on a > different machine. Not sure I've ever hear the term "redirect" used in reference to email. Understand that email cannot be received on just

Re: [PHP] php mail() error

2004-11-14 Thread Manuel Lemos
Hello, On 11/14/2004 03:49 AM, Curt Zirzow wrote: Requiring authentication is one common solution to not leave relaying opened. Common but not the *only* way. That is irrelevant because most servers that issue the message above only allow relaying with prior authentication. FYI, the class that I

Re: [PHP] php mail() error

2004-11-13 Thread Curt Zirzow
* Thus wrote Manuel Lemos: > Hello, > > On 11/14/2004 02:15 AM, Curt Zirzow wrote: > >>>If you even paid attention to Jason's message a simple google > >>>search for: > >>> > >>>smtp 550 5.7.1 unable to rely for > >>> > >>>returns a bunch more information than spam. > >> > >>FYI, that is a common

Re: [PHP] php mail() error

2004-11-13 Thread Manuel Lemos
Hello, On 11/14/2004 02:15 AM, Curt Zirzow wrote: If you even paid attention to Jason's message a simple google search for: smtp 550 5.7.1 unable to rely for returns a bunch more information than spam. FYI, that is a common error message that SMTP servers return when they only allow relaying messa

Re: [PHP] php mail() error

2004-11-13 Thread Curt Zirzow
* Thus wrote Manuel Lemos: > Hello, > > On 11/13/2004 04:08 AM, Curt Zirzow wrote: > >* Thus wrote Jason Wong: > > > >>On Wednesday 10 November 2004 12:36, Garth Hapgood - Strickland wrote: > >> > >>>But when I get the following error back.: > >>> Warning: mail(): SMTP server response: 550 5.7.1 U

Re: [PHP] php mail() error

2004-11-13 Thread Curt Zirzow
* Thus wrote Manuel Lemos: > Hello, > > On 11/14/2004 01:29 AM, Curt Zirzow wrote: > > > >If you even paid attention to Jason's message a simple google > >search for: > > > > smtp 550 5.7.1 unable to rely for > > > >returns a bunch more information than spam. > > FYI, that is a common error mess

Re: [PHP] php mail() error

2004-11-13 Thread Manuel Lemos
Hello, On 11/14/2004 01:29 AM, Curt Zirzow wrote: But when I get the following error back.: Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] ... This is a VERY FAQ. googling the error message will tell you what it means. Searching the archives> will give you s

Re: [PHP] php mail() error

2004-11-13 Thread Manuel Lemos
Hello, On 11/13/2004 04:08 AM, Curt Zirzow wrote: * Thus wrote Jason Wong: On Wednesday 10 November 2004 12:36, Garth Hapgood - Strickland wrote: But when I get the following error back.: Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] ... This is a VERY FAQ.

Re: [PHP] php mail() error

2004-11-12 Thread Curt Zirzow
* Thus wrote Jason Wong: > On Wednesday 10 November 2004 12:36, Garth Hapgood - Strickland wrote: > > But when I get the following error back.: > > Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for > > [EMAIL PROTECTED] > > > >... > > This is a VERY FAQ. > > googling the erro

RE: [PHP] php mail() error

2004-11-10 Thread Zareef Ahmed
PROTECTED] Subject: Re: [PHP] php mail() error On Wed, 10 Nov 2004 23:14:43 +, Jason Wong <[EMAIL PROTECTED]> wrote: > Or you can wait for Manuel Lemos' reply :) Good one. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http:

RE: [PHP] php mail() error

2004-11-10 Thread Zareef Ahmed
Hi, Problem is realted to your smtp server. Make sure it allowed outgoing mail without authenctication. You must also set a header in fourth parameter of mail function, it is good practice and can save you from some basic indentification problems. In windows you can set default send mail from

Re: [PHP] php mail() error

2004-11-10 Thread John Holmes
Garth Hapgood - Strickland wrote: > But when I get the following error back.: Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] Can someone help me out, by telling me what it means or what Im doing wrong? Your mail server is not set up to send mail from (or r

Re: [PHP] php mail() error

2004-11-10 Thread Greg Donald
On Wed, 10 Nov 2004 23:14:43 +, Jason Wong <[EMAIL PROTECTED]> wrote: > Or you can wait for Manuel Lemos' reply :) Good one. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] php mail() error

2004-11-10 Thread Jason Wong
On Wednesday 10 November 2004 12:36, Garth Hapgood - Strickland wrote: > Im using the php mail() function to try send an email to a user that has > just registered. > > mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website Registration' , > 'Welcome'); > > But when I get the following error b

RE: [PHP] PHP Mail handler?

2003-11-19 Thread Jay Blanchard
[snip] Is there a mail function or object that I can use on my PHP sites that does the same as the CDONTS object in ASP? Where can I find some tutorials on this subject? [/snip] The manual works fine for most http://www.php.net/mail -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] PHP mail() fonction - Slow? Alternative?

2003-09-19 Thread Curt Zirzow
* Thus wrote Stéphane Paquay ([EMAIL PROTECTED]): > Hi all, > > I'm using the mail() fonction to send email and it takes 60 seconds to send > a simple email. Maybe it's due to the sendmail configuration, or maybe not, > I'm not really sure, 'cos I'm not a Linux expert. The odds are pretty high th

Re: [PHP] php mail confirmation

2002-11-14 Thread Jason Wong
On Thursday 14 November 2002 17:02, Martin Hudec wrote: > Hello all, > > I would like to ask how can I make registration confirmation by > email...user will receive mail confirming his registration immediately > after he registers in application. > is it possible to make mail() > function fil

Re: [PHP] php mail()

2002-10-15 Thread Juhan Kundla
Ühel ilusal päeval [14-10-2002 22:46] kirjutas John W. Holmes: > > Hey do you guys know how to correct this problem with sending email? > > > > A custumer uses mail() to send the email and it isn't deliverable. So > the > > message bounces. But since the local sendmail sent the email it thus > >

Re: [PHP] php mail()

2002-10-14 Thread Paul Roberts
From: "Brad Dameron" <[EMAIL PROTECTED]> To: "'PHP'" <[EMAIL PROTECTED]> Sent: Monday, October 14, 2002 8:44 PM Subject: RE: [PHP] php mail() Hey do you guys know how to correct this problem with sending email? A custumer uses mail() to send the email and i

RE: [PHP] php mail()

2002-10-14 Thread Brad Dameron
Silverdale, WA. 1-888-8TSCNET > -Original Message- > From: John W. Holmes [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 14, 2002 12:47 PM > To: 'Brad Dameron'; 'PHP' > Subject: RE: [PHP] p

RE: [PHP] php mail()

2002-10-14 Thread John W. Holmes
> Hey do you guys know how to correct this problem with sending email? > > A custumer uses mail() to send the email and it isn't deliverable. So the > message bounces. But since the local sendmail sent the email it thus > bounces > to root's mailbox instead of say the replyto address. Anyone know

RE: [PHP] php mail()

2002-10-14 Thread Marco Tabini
> www.tscnet.com > Silverdale, WA. > 1-888-8TSCNET > > > > > -Original Message- > > From: John W. Holmes [mailto:[EMAIL PROTECTED]] > >

RE: [PHP] php mail()

2002-10-14 Thread Brad Dameron
'Rodrigo Peres'; 'PHP' > Subject: RE: [PHP] php mail() > > > > Hi list, > > > > I trying to send mail using PHP's mail() function without success. My > > email > > is rejected because it goes with apache@localhost. I've tried > ev

RE: [PHP] php mail()

2002-10-14 Thread John W. Holmes
> Hi list, > > I trying to send mail using PHP's mail() function without success. My > email > is rejected because it goes with apache@localhost. I've tried everything > put > a diferent from in header etc. > > Does anyone have a clue > > My system is a RedHAT 7, PHP4.2.3, sendmail > > thank's

Re: [PHP] PHP - mail() function problem

2002-08-17 Thread N. Pari Purna Chand
- From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 17, 2002 11:49 PM Subject: Re: [PHP] PHP - mail() function problem > On Saturday 17 August 2002 21:08, N. Pari Purna Chand wrote: > > Hi guys, > > > > I am facin

Re: [PHP] PHP - mail() function problem

2002-08-17 Thread N. Pari Purna Chand
- From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 17, 2002 11:49 PM Subject: Re: [PHP] PHP - mail() function problem > On Saturday 17 August 2002 21:08, N. Pari Purna Chand wrote: > > Hi guys, > > > > I am facin

Re: [PHP] PHP - mail() function problem

2002-08-17 Thread Jason Wong
On Saturday 17 August 2002 21:08, N. Pari Purna Chand wrote: > Hi guys, > > I am facing a strange problem, > php's mail() function is not working when a php page is executed thru > apache, > but the same page which has mail() function is working fine and is sending > mails > when php is used as a

Re: [PHP] PHP mail() problems

2002-07-30 Thread Rasmus Lerdorf
Try rm config.cache, re-configure and try again On Tue, 30 Jul 2002, John Williams wrote: > I'm having a problem getting the mail() function working on php 4.2.2. > > I get the error message: > Warning: mail() is not supported in this PHP build > > I'm running Solaris 8 and have set the symlink

Re: [PHP] php 'mail()' security

2002-07-28 Thread Dennis Gearon
gt; Support > Web-1 Hosting > http://www.web-1hosting.net > - Original Message - > From: "Bob Lockie" <[EMAIL PROTECTED]> > To: "Dennis Gearon" <[EMAIL PROTECTED]>; "Tech Support" > <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]

Re: [PHP] php 'mail()' security

2002-07-28 Thread Tech Support
eb-1 Hosting http://www.web-1hosting.net - Original Message - From: "Bob Lockie" <[EMAIL PROTECTED]> To: "Dennis Gearon" <[EMAIL PROTECTED]>; "Tech Support" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, July 28, 2002 1:19 PM Subject:

Re: [PHP] php 'mail()' security

2002-07-28 Thread Bob Lockie
>There is no substitute for good data verification such as strip_tags() or >some regular expressions to limit valid input. I also would recomend >checking the referrer to be sure someone doesn't hijack you form and try to >modify it and submit it from a remote location. Here is an example: > >if

RE: [PHP] php 'mail()' security

2002-07-28 Thread John Holmes
Support [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 28, 2002 10:57 AM > To: Dennis Gearon; Bob Lockie > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] php 'mail()' security > > There is no substitute for good data verification such as strip_tags() or > some regular

Re: [PHP] php 'mail()' security

2002-07-28 Thread Tech Support
; $ref = explode('/', $referer); if ( in_array($ref[1], $_valid_referrers) ) return true; else return false; } Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: "Dennis Gearon" <[EMAIL PROTECTED]> To: "Bob Lockie"

Re: [PHP] php 'mail()' security

2002-07-28 Thread Justin French
- strip_tags() will remove HTML and PHP code from a string - there is a great function set which validates email address' to ensure the email address is in the correct format available from killersoft: http://killersoft.com/modules.php?op=modload&name=News&file=article&sid=2 - ensuring there are

Re: [PHP] php 'mail()' security

2002-07-27 Thread Dennis Gearon
What I meant was, how to sanitize the input on the forms so that malicious stuff cannot be put as commands, etc. in the email address, or body, or 'extra' field of the 'mail()' function in PHP. -- - Joy is just a thing (to be).. rais

Re: [PHP] php 'mail()' security

2002-07-27 Thread Bob Lockie
On Sat, 27 Jul 2002 17:31:16 -0700, Dennis Gearon wrote: >How can I make my form which entered by a user, then sent to a company >employee, secure, not vulnerable attack? >-- >- >Joy is just a thing (to be).. raised on, >Love is jus

Re: [PHP] PHP MAIL function...why wont it work????

2002-03-07 Thread DL Neil
Brad, [I've put this back on the list, because someone who's into PHP's MAIL() from Linux might be able to help] > OK, I 'KISS'ed' it. The line now reads: > mail("[EMAIL PROTECTED]", "Please call if this works", "Hi there", > "From: [EMAIL PROTECTED]"); > and works fine. BUT, if i put my email a

Re: [PHP] PHP MAIL function...why wont it work????

2002-03-01 Thread DL Neil
Brad, > Yep it is a linux box. Ok, seeing that's 'sweet', go for "KISS"! See earlier comments about simplifying and once 'plain vanilla' is working, add back the optional headers/multiple lines, etc. Will be easier to work out what's breaking things, and then address that issue. Regards, =dn

Re: [PHP] PHP MAIL function...why wont it work????

2002-02-28 Thread Brad Wright
Yep it is a linux box. > From: "DL Neil" <[EMAIL PROTECTED]> > Reply-To: "DL Neil" <[EMAIL PROTECTED]> > Date: Thu, 28 Feb 2002 22:55:59 - > To: "Brad Wright" <[EMAIL PROTECTED]>, "PHP General List" > <[EMAIL PROTE

Re: [PHP] PHP MAIL function...why wont it work????

2002-02-28 Thread DL Neil
Hi Brad, > Hi all... I have a line in a page that should send me an email when the page > is loaded. > mail("[EMAIL PROTECTED]", "worked", "Line 1\nLine 2\nLine 3"); > when i load the page...i get NO error msgs, but the function does not send > the mail. There is no record of any activity in the

Re: [PHP] PHP mail() function. Help please...

2001-11-18 Thread Anthony Ritter
Thank you! It works fine. Regards, Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] PHP mail() function. Help please...

2001-11-18 Thread Avdija A . Ahmedhodžić
do you have sendmail or smtp configured properly. Yao should test that first. Try to put instad of SMTP=localhost name of some other server, taht you can connect and send mail from. - Original Message - From: Anthony Ritter <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 19. studeni 2

Re: [PHP] PHP mail() function

2001-07-27 Thread Mark Maggelet
t; >- Original Message - >From: Mark Maggelet <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >Sent: Friday, July 27, 2001 12:14 PM >Subject: Re: [PHP] PHP mail() function > > >On Fri, 27 Jul 2001 11:11:57 -0600, Kevin Leavell ([EMAIL

Re: [PHP] PHP mail() function

2001-07-27 Thread Kevin Leavell
Regular email flows in and out just fine. The host providers are and have been fiddling with the dns stuff to no avail. Kevin - Original Message - From: Mark Maggelet <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 27, 2001 12:14 PM

Re: [PHP] PHP mail() function

2001-07-27 Thread Mark Maggelet
On Fri, 27 Jul 2001 11:11:57 -0600, Kevin Leavell ([EMAIL PROTECTED]) wrote: >mail0 is sending mail that can't be received by aol or my local isp. > That >same mail can be received by other sites on that same server. The >mail doesn't bounce but I am getting a few DSN errors in my maillog. it so

RE: [PHP] PHP mail() security hole on 4.0.5+

2001-07-19 Thread Rasmus Lerdorf
> > -Original Message- > > From: Michael Geier, CDM Systems Admin [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, July 19, 2001 9:39 AM > > To: PHP Mailing List > > Subject: [PHP] PHP mail() security hole on 4.0.5+ > > > > > > http://www.net-security.org/text/bugs/995534103,28541,.shtml > >

RE: [PHP] PHP mail() security hole on 4.0.5+

2001-07-19 Thread Johnson, Kirk
> -Original Message- > From: Michael Geier, CDM Systems Admin [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 19, 2001 9:39 AM > To: PHP Mailing List > Subject: [PHP] PHP mail() security hole on 4.0.5+ > > > http://www.net-security.org/text/bugs/995534103,28541,.shtml Anyone have sugg

RE: [PHP] php mail form with predefined subject

2001-07-12 Thread scott [gts]
link to the mail form like this: mailform.php?subject=Requesting+information+on and in the mailform, have a subject field something like this: > -Original Message- > From: Ed Peddycoart [mailto:[EMAIL PROTECTED]] > Subject: [PHP] php mail form with predefined subject > > > I am in

Re: [PHP] php mail form with predefined subject

2001-07-11 Thread David Robley
On Thu, 12 Jul 2001 09:17, Ed Peddycoart wrote: > I am in need of a mail form script which has the subject line filled in > for the userHere's what I mean > > Let's say I have a webpage. > > On the web page is a picture of a truck, maybe a 1999 Ford F150. > > If the user clicks the pic, he

  1   2   >