Re: [PHP] Mail Problem

2006-09-26 Thread travis
I have an issue with sending email via PHP which may be a configuration problem with either PHP, Apache, or possibly a Sendmail, but I don't know which yet. I figured I'd start here first. Here's the situation. I have several webpages that send email to users for various reasons. We

Re: [PHP] Mail Problem

2006-09-26 Thread Richard Lynch
On Tue, September 26, 2006 11:09 am, [EMAIL PROTECTED] wrote: I have an issue with sending email via PHP which may be a configuration problem with either PHP, Apache, or possibly a Sendmail, but I don't know which yet. I figured I'd start here first. Here's the situation. I have several

Re: [PHP] Mail Problem

2006-09-26 Thread Richard Lynch
On Tue, September 26, 2006 11:16 am, Kevin Murphy wrote: Why not validate the email address before you send. I use something like this to kick back an error that says you put in a bad email address. It won't tell you about a wrong email address, but it will tell you if they forgot to put in

Re: [PHP] Mail Problem

2006-09-26 Thread Travis Doherty
Richard Lynch wrote: if(!mail($to,$subject,$msg,$headers)) { die(Unable to send); } *IF* you are using PHP5 (?) and *IF* your security settings allow it, the optional fifth argument will let you specify the real sender of the message, which the responder may or may not be using to bounce

Re: [PHP] Mail Problem

2006-09-26 Thread Richard Lynch
On Tue, September 26, 2006 5:08 pm, Travis Doherty wrote: They should *always* be sending to the envelope from address (SMTP `MAIL FROM` command), with an empty envelope sender (SMTP `MAIL FROM:`) to avoid loops. There was a brief period in time where there was an Errors-to: header that some

Re: [PHP] Mail Problem

2006-09-26 Thread Richard Lynch
On Tue, September 26, 2006 5:08 pm, Travis Doherty wrote: The RFC's are a rather in depth, so here is an excerpt from Wikipedia that pretty much sums up what the RFCs do contain: [http://en.wikipedia.org/wiki/Bounce_message] For awhile, I've been pondering the advisability of sending a Bounce

Re: [PHP] Mail Problem

2006-09-26 Thread Curt Zirzow
On 9/26/06, Richard Lynch [EMAIL PROTECTED] wrote: On Tue, September 26, 2006 11:09 am, [EMAIL PROTECTED] wrote: I have an issue with sending email via PHP which may be a configuration problem with either PHP, Apache, or possibly a Sendmail, but I don't know which yet. I figured I'd start

Re: [PHP] Mail Problem

2006-09-26 Thread Curt Zirzow
On a side note.. have i ever mentioned the email system really sucks. Curt. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail() help

2006-09-12 Thread suresh kumar
Hi, I am using php mail function to send mails to our customers.but when i send mail to them.it is getting received in customers bulk folder .i want mail to get received in customers inbox.i dont know the reason why its getting stored in bulk folder. i attached the code.below

Re: [PHP] mail() help

2006-09-12 Thread David Tulloh
properly formed and MIME typed HTML, along with a non-HTML version. David suresh kumar wrote: Hi, I am using php mail function to send mails to our customers.but when i send mail to them.it is getting received in customers bulk folder .i want mail to get received in customers inbox.i

RE: [PHP] mail() help

2006-09-12 Thread Peter Lauri
kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 7:56 PM To: php-general@lists.php.net Subject: [PHP] mail() help Hi, I am using php mail function to send mails to our customers.but when i send mail to them.it is getting received in customers bulk folder .i want mail to get

Re: [PHP] mail() help

2006-09-12 Thread Christopher Weldon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 suresh kumar wrote: Hi, I am using php mail function to send mails to our customers.but when i send mail to them.it is getting received in customers bulk folder .i want mail to get received in customers inbox.i dont know the reason why

[PHP] mail() help

2006-09-11 Thread suresh kumar
Hi to all, i am having one doubt regarding php mail function.i am using php mail() function to send mail to the users.but when i send mail throught php its going to the users bulk folder but not to the user inbox.i dont know the reason. Is there any setting

Re: [PHP] mail() help

2006-09-11 Thread Christopher Weldon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 suresh kumar wrote: Hi to all, i am having one doubt regarding php mail function.i am using php mail() function to send mail to the users.but when i send mail throught php its going to the users bulk folder but not to the user

Re: [PHP] Mail reply-path

2006-08-16 Thread bob pilly
Hi Richard this is exactly what i was after and works perfectly! Cheers Bob Richard Lynch [EMAIL PROTECTED] wrote: On Tue, August 15, 2006 6:54 am, bob pilly wrote: Im trying to send emails using the mail() function but im having a problem. Because the box that the scripts sit on is a

[PHP] Mail reply-path

2006-08-15 Thread bob pilly
Hi all Im trying to send emails using the mail() function but im having a problem. Because the box that the scripts sit on is a shared web-hosting package the Reply-path part of the header always comes up as [EMAIL PROTECTED] but i have set the from part of the header to [EMAIL PROTECTED] A

Re: [PHP] Mail reply-path

2006-08-15 Thread Jon Anderson
bob pilly wrote: Im trying to send emails using the mail() function but im having a problem. Because the box that the scripts sit on is a shared web-hosting package the Reply-path part of the header always comes up as [EMAIL PROTECTED] but i have set the from part of the header to [EMAIL

Re: [PHP] Mail reply-path

2006-08-15 Thread Richard Lynch
On Tue, August 15, 2006 6:54 am, bob pilly wrote: Im trying to send emails using the mail() function but im having a problem. Because the box that the scripts sit on is a shared web-hosting package the Reply-path part of the header always comes up as [EMAIL PROTECTED] but i have set the from

Re: [PHP] Mail reply-path

2006-08-15 Thread tedd
At 11:06 AM -0400 8/15/06, Jon Anderson wrote: bob pilly wrote: Im trying to send emails using the mail() function but im having a problem. Because the box that the scripts sit on is a shared web-hosting package the Reply-path part of the header always comes up as [EMAIL PROTECTED] but i have

Re: [PHP] Mail reply-path

2006-08-15 Thread Chris
Richard Lynch wrote: On Tue, August 15, 2006 6:54 am, bob pilly wrote: Im trying to send emails using the mail() function but im having a problem. Because the box that the scripts sit on is a shared web-hosting package the Reply-path part of the header always comes up as [EMAIL PROTECTED] but i

Re: [PHP] mail headers

2006-08-04 Thread Richard Lynch
On Tue, July 25, 2006 11:47 pm, Chris wrote: There's a default for reply-to in the php.ini? What's the variable called - I can't see one. I can see these: ; For Win32 only. sendmail_from = [EMAIL PROTECTED] ; For Unix only. You may supply arguments as well (default: 'sendmail -t -i').

[PHP] mail headers

2006-07-25 Thread Schalk
Greetings Everyone, What in the piece of code below might be causing the headers for from and reply-to to be set incorrectly? ' $headers = MIME-Version: 1.0\r\n. Content-type: text/html; charset=iso-8859-1\r\n. From: .$email.\r\n. Reply-to: .$email.\r\n. Date: .date(r).\r\n; ' Using

Re: [PHP] mail headers

2006-07-25 Thread Chris
Schalk wrote: Greetings Everyone, What in the piece of code below might be causing the headers for from and reply-to to be set incorrectly? ' $headers = MIME-Version: 1.0\r\n. Content-type: text/html; charset=iso-8859-1\r\n. From: .$email.\r\n. Reply-to: .$email.\r\n. Date: .date(r).\r\n; '

Re: [PHP] mail() returns false but e-mail is sent ?

2006-06-26 Thread Leonidas Safran
-regensburg.de/~mim09509/PHP/list.phtml//www-cgi/home/mim09509/public_html/PHP/mail-quote.phtml?datei=%2Fwww-cgi%2Fhome%2Fmim09509%2Fpublic_html%2FPHP%2Fmail-quote.phtml%2Crfc822-syntax.txt): function quote_printable($text, $max=75){ /* $text ist ein String (mit neue Zeilen drin), $max ist die max

Re: [PHP] mail() returns false but e-mail is sent ?

2006-06-26 Thread Adam Zey
http://www-cgi.uni-regensburg.de/~mim09509/PHP/list.phtml//www-cgi/home/mim09509/public_html/PHP/mail-quote.phtml?datei=%2Fwww-cgi%2Fhome%2Fmim09509%2Fpublic_html%2FPHP%2Fmail-quote.phtml%2Crfc822-syntax.txt): function quote_printable($text, $max=75){ /* $text ist ein String (mit neue Zeilen drin

[PHP] mail() returns false but e-mail is sent ?

2006-06-25 Thread Leonidas Safran
Hello, I'm wondering about the behavior of the mail() function. $sent = mail($destination, $subject, $content, $headers); I use some optional header parameters: From:[EMAIL PROTECTED]: 1.0\r\nContent-Type: text/plain; charset=ISO-8859-1\r\nContent-Transfer-Encoding: quoted-printable\r\n. Can

Re: [PHP] mail() returns false but e-mail is sent ?

2006-06-25 Thread Chris
Leonidas Safran wrote: Hello, I'm wondering about the behavior of the mail() function. $sent = mail($destination, $subject, $content, $headers); I use some optional header parameters: From:[EMAIL PROTECTED]: 1.0\r\nContent-Type: text/plain; charset=ISO-8859-1\r\nContent-Transfer-Encoding:

[PHP] Mail in Spam Box

2006-06-18 Thread kartikay malhotra
Hi all! I've use PHP mail to send mail to my Gmail ID. But it gets delivered to my Spam box and not the Inbox :( Am I missing a header, signature, certificate? Thanks KM

Re: [PHP] Mail in Spam Box

2006-06-18 Thread Rabin Vincent
On 6/18/06, kartikay malhotra [EMAIL PROTECTED] wrote: I've use PHP mail to send mail to my Gmail ID. But it gets delivered to my Spam box and not the Inbox :( Am I missing a header, signature, certificate? You're probably missing a header, but, who knows, you haven't shown us any code

Re: [PHP] Mail in Spam Box

2006-06-18 Thread Travis Doherty
kartikay malhotra wrote: Hi all! I've use PHP mail to send mail to my Gmail ID. But it gets delivered to my Spam box and not the Inbox :( Am I missing a header, signature, certificate? Thanks KM Is the system you are sending from listed in any RBLs? If you don't set a subject line

Re: [PHP] mail() function dying half way through. [SOLVED]

2006-06-11 Thread Dave M G
Chris, Richard, Thank you for your advice. Inserting sleep(1) into the script seems to have done the trick. I will also look into the other alternatives you suggest, such as different mail programs and the error output of mail() to see if I can optimize the system further. Thank you for

Re: [PHP] Mail sending program (beginner)

2006-06-11 Thread aci india
Since it was sunday I was not able to thank instently. Thanks for the help. Thanks to all. [snipped...]

Re: [PHP] Mail sending program (beginner)

2006-06-10 Thread Rabin Vincent
. Sprinkle echo or var_dump statements throughout your code and try to find out where the problem is. Make liberal use of the documentation at php.net/manual. I have placed some comments inline, and pointed out your infinite loop. the mail.php file: ^^^ ?php /*mail body file

Re: [PHP] Mail sending program (beginner)

2006-06-10 Thread benifactor
Message - From: aci india [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, June 09, 2006 10:24 PM Subject: [PHP] Mail sending program (beginner) Dear group, Description: Following is the code which I tried for learning propuses. It is a mail sending program which checks

Re: [PHP] Mail sending program (beginner)

2006-06-10 Thread tedd
At 10:54 AM +0530 6/10/06, aci india wrote: Dear group, Description: Following is the code which I tried for learning propuses. It is a mail sending program -snip- I read what you wanted, try this: http://www.weberdev.com/get_example-503.html hth's tedd --

[PHP] mail() function dying half way through.

2006-06-09 Thread Dave M G
PHP List, I have a database of about 120 users. Each weak I send out a newsletter. So far as I know, it's been working fine for the last couple of years. Then recently some users emailed me to let me know that they haven't been receiving all the messages. I added extra output to my script to

Re: [PHP] mail() function dying half way through.

2006-06-09 Thread Chris
Dave M G wrote: PHP List, I have a database of about 120 users. Each weak I send out a newsletter. So far as I know, it's been working fine for the last couple of years. Then recently some users emailed me to let me know that they haven't been receiving all the messages. I added extra

Re: [PHP] mail() function dying half way through.

2006-06-09 Thread Richard Lynch
On Fri, June 9, 2006 12:59 am, Dave M G wrote: I have a database of about 120 users. Each weak I send out a newsletter. So far as I know, it's been working fine for the last couple of years. Then recently some users emailed me to let me know that they haven't been receiving all the messages.

[PHP] Mail sending program (beginner)

2006-06-09 Thread aci india
); } function my_error() { alert(pls enter a correct e-mail ID); document.my_frm.user_email.value = ; } /script /form /body /HTML the mail.php file: ^^^ ?php /*mail body file*/ function cnd($fname) { $fil = fopen($fname,r); if(!$fil) die(fopen error); while(!feof

[PHP] mail function in 4.2.2

2006-06-01 Thread Aaron Todd
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 the messages get to the destination. I wrote a

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

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

Re: [PHP] Mail and hotmail

2006-05-05 Thread Angelo Zanetti
Peter Lauri wrote: I do set the headers now, but still the email is not delivered to Hotmail. This is the headers that I set: X-Sender: [EMAIL PROTECTED] From: DWS Asia [EMAIL PROTECTED] Date: Thu, 04 May 2006 22:04:23 +0700 Subject: What is this? 2 the subject of your email! -- PHP General

RE: [PHP] Mail and hotmail

2006-05-05 Thread Peter Lauri
, May 05, 2006 1:31 PM To: Peter Lauri Cc: php-general@lists.php.net Subject: Re: [PHP] Mail and hotmail Peter Lauri wrote: I do set the headers now, but still the email is not delivered to Hotmail. This is the headers that I set: X-Sender: [EMAIL PROTECTED] From: DWS Asia [EMAIL PROTECTED

[PHP] Mail and hotmail

2006-05-04 Thread Peter Lauri
Best group member, I am sending email to a hotmail thru PHP. When I send it like this it arrives (in the junk mail, but it arrives): mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text'); It works well, but I want to change the FROM header so I do this: mail('[EMAIL PROTECTED]', 'A nice

Re: [PHP] Mail and hotmail

2006-05-04 Thread Paul Scott
On Thu, 2006-05-04 at 17:37 +0700, Peter Lauri wrote: mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text', 'From: Peter Lauri [EMAIL PROTECTED]'); This email does not arrive to the Hotmail inbox. This has been discussed ad nauseum on this list. I suggest going through the list archives

Re: [PHP] Mail and hotmail

2006-05-04 Thread Angelo Zanetti
Peter Lauri wrote: Best group member, I am sending email to a hotmail thru PHP. When I send it like this it arrives (in the junk mail, but it arrives): mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text'); It works well, but I want to change the FROM header so I do this: mail('[EMAIL

RE: [PHP] Mail and hotmail

2006-05-04 Thread Peter Lauri
, 2006 5:43 PM To: Peter Lauri Cc: php-general@lists.php.net Subject: Re: [PHP] Mail and hotmail On Thu, 2006-05-04 at 17:37 +0700, Peter Lauri wrote: mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text', 'From: Peter Lauri [EMAIL PROTECTED]'); This email does not arrive to the Hotmail inbox

RE: [PHP] Mail and hotmail

2006-05-04 Thread Paul Scott
/ as well as a google for php mail headers. Hotmail has very little to do with your question. --Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Mail and hotmail

2006-05-04 Thread Peter Lauri
@lists.php.net Subject: Re: [PHP] Mail and hotmail Peter Lauri wrote: Best group member, I am sending email to a hotmail thru PHP. When I send it like this it arrives (in the junk mail, but it arrives): mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text'); It works well, but I want to change

Re: [PHP] Mail and hotmail

2006-05-04 Thread Christian Heinrich
values are possible there? Is it the same as for X-priority? Regards, Peter -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 5:53 PM To: Peter Lauri Cc: php-general@lists.php.net Subject: Re: [PHP] Mail and hotmail Peter Lauri wrote

Re: [PHP] Mail and hotmail

2006-05-04 Thread Richard Lynch
On Thu, May 4, 2006 5:37 am, Peter Lauri wrote: mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text', 'From: Peter Lauri [EMAIL PROTECTED]'); I think you need 'From: Peter Lauri [EMAIL PROTECTED]' for starters. This email does not arrive to the Hotmail inbox. There's spam, and then

RE: [PHP] Mail and hotmail

2006-05-04 Thread Peter Lauri
('sendmail_from'); I tried with and without the ini_set. Best regards, Peter Lauri -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 5:53 PM To: Peter Lauri Cc: php-general@lists.php.net Subject: Re: [PHP] Mail and hotmail Peter Lauri

Re: [PHP] Mail problems with Outlook

2006-04-08 Thread Richard Lynch
Because you have created ta totally BOUGS MIME email. You've rn rough-shod over the standards for html enhanced (cough, cough) email. Use plain-text, or do a ton of research or use the MIME email classes from http://phpclasses.org On Sat, April 8, 2006 5:52 pm, Schalk wrote: Greetings All,

[PHP] mail() and exim

2006-04-07 Thread Webmaster
Hello, I'm not sure if this is the right list to ask this on or not Here's the situation... my php scripts were generating emails as expected. I was shocked when they told me that exim was not responding to requests on port 25 and had to be restarted. So, PHP communicates with exim

Re: [PHP] mail link problem with php echo statement

2006-03-23 Thread Richard Lynch
On Wed, March 22, 2006 10:29 pm, Mark wrote: How can i make this email from a database a hyperlink so it doesnt show the email address--i have tried many things but i keep getting errors. At the moment it just shows the email (no link) thanks ?php //get comp_id $query =

[PHP] mail link problem with php echo statement

2006-03-22 Thread Mark
How can i make this email from a database a hyperlink so it doesnt show the email address--i have tried many things but i keep getting errors. At the moment it just shows the email (no link) thanks ?php //get comp_id $query = mysql_query(SELECT * FROM comps WHERE name = '$comp_name');

Re: [PHP] mail link problem with php echo statement

2006-03-22 Thread Chris
Mark wrote: How can i make this email from a database a hyperlink so it doesnt show the email address--i have tried many things but i keep getting errors. At the moment it just shows the email (no link) thanks ?php //get comp_id $query = mysql_query(SELECT * FROM comps WHERE name =

Re: [PHP] Mail function problems

2006-03-20 Thread Richard Lynch
. On Sun, March 19, 2006 3:50 pm, Paul Goepfert wrote: Hi all, Has anyone had this problem before? I have a web server that resides on a windows platform (According to phpinfo()). I used the php mail function to send out a test message to make sure that the mail function would work when needed

[PHP] Mail function problems

2006-03-19 Thread Paul Goepfert
Hi all, Has anyone had this problem before? I have a web server that resides on a windows platform (According to phpinfo()). I used the php mail function to send out a test message to make sure that the mail function would work when needed. I sent out the test message and I didn't get an email

[PHP] mail function

2006-02-26 Thread Mohsen Pahlevanzadeh
Dear all, I wanna mail to x user that x can't see my IP address. Do you know same function? --Mohsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail problem

2006-02-07 Thread Angelo Zanetti
Chris wrote: check your SMTP settings in the PHP.ini file. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail() and Return-Path header

2006-02-06 Thread Marcus Bointon
On 2 Feb 2006, at 13:00, Søren Schimkat wrote: I'm using the mail function for sending mail, and I would like to specify the Return-Path header, but it would seem that PHP or Apache is modyfying the header. Strictly speaking, you should not set a return-path header at all. You should

[PHP] mail problem

2006-02-06 Thread PHP
Hi, I upgraded to apache 2.2 and php5, now all my mail() functions return false. But there is nothing in the logs as to why it failed. sendmail is in the path. Has something else changed that won't let mail() run? Thanks. No virus found in this outgoing message. Checked by AVG Free

Re: [PHP] mail problem

2006-02-06 Thread PHP
I also noticed there is no /usr/local/lib/php/Mail directory anymore, should there be with php5? - Original Message - From: PHP To: php Sent: Monday, February 06, 2006 10:35 AM Subject: [PHP] mail problem Hi, I upgraded to apache 2.2 and php5, now all my

Re: [PHP] mail problem

2006-02-06 Thread Chris
Hi, Is there a /usr/sbin/sendmail file on the server? php looks for this when it compiles, if it's not there then mail() won't work. (check a phpinfo page as well and look for sendmail_path). PHP wrote: I also noticed there is no /usr/local/lib/php/Mail directory anymore, should

[PHP] mail() and Return-Path header

2006-02-02 Thread Søren Schimkat
Hi Guys I'm using the mail function for sending mail, and I would like to specify the Return-Path header, but it would seem that PHP or Apache is modyfying the header. This is the simple code: mail('[EMAIL PROTECTED]', 'Subject', 'Message', From: [EMAIL PROTECTED]: [EMAIL PROTECTED]); .. but

Re: [PHP] mail() and Return-Path header

2006-02-02 Thread Richard Heyes
Søren Schimkat wrote: Hi Guys I'm using the mail function for sending mail, and I would like to specify the Return-Path header, but it would seem that PHP or Apache is modyfying the header. This is the simple code: mail('[EMAIL PROTECTED]', 'Subject', 'Message', From: [EMAIL PROTECTED]:

[PHP] Re: Solution [PHP] mail() and Return-Path header

2006-02-02 Thread Peppy
Thanks Richard. That worked great. - Original Message - From: Richard Heyes [EMAIL PROTECTED] To: Søren Schimkat [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Thursday, February 02, 2006 8:02 AM Subject: Re: [PHP] mail() and Return-Path header Søren Schimkat wrote: Hi Guys

Re: [PHP] mail sending issues...

2006-02-02 Thread Richard Lynch
On Mon, January 30, 2006 8:51 pm, Richard Schilling wrote: I've been troubleshooting mail for a couple of days and searching every mail list archive/documentation/etc I could find. Hoping someone can help me troubleshoot my mail sending problem. I can't get the PHP mail function to send

[PHP] mail sending issues...

2006-01-30 Thread Richard Schilling
I've been troubleshooting mail for a couple of days and searching every mail list archive/documentation/etc I could find. Hoping someone can help me troubleshoot my mail sending problem. I can't get the PHP mail function to send mail properly - even to addresses on the local host. I'm using

[PHP] PHP mail form spam checking

2006-01-19 Thread Gerry Danen
A couple of days ago somebody posted a message with a routine to check input fields for potential spam/hacking. I believe it was on this list, but not sure. Of course I can't find that message any more... Could the original poster, please repost? Thanks. Gerry -- PHP General Mailing List

[PHP] mail not sent to certain mail accounts

2006-01-16 Thread Angelo Zanetti
Hi all. I'm using the PHP mail function to send a confirmation email to a person once they register on the site. A few thing that happens with 2 of the mail accounts that we're testing to receive the mail is that the mail never is received. One of the mail accounts is a Yahoo account

RE: [PHP] mail not sent to certain mail accounts

2006-01-16 Thread Albert
Angelo Zanetti wrote: I'm using the PHP mail function to send a confirmation email to a person once they register on the site. A few thing that happens with 2 of the mail accounts that we're testing to receive the mail is that the mail never is received. One of the mail accounts is a Yahoo

Re: [PHP] mail not sent to certain mail accounts

2006-01-16 Thread Miles Thompson
At 07:43 PM 1/16/2006, Angelo Zanetti wrote: Hi all. I'm using the PHP mail function to send a confirmation email to a person once they register on the site. A few thing that happens with 2 of the mail accounts that we're testing to receive the mail is that the mail never is received. One

Re: [PHP] mail not sent to certain mail accounts

2006-01-16 Thread Paul Scott
Angelo Zanetti wrote: I'm using the PHP mail function to send a confirmation email to a person once they register on the site. A few thing that happens with 2 of the A bunch of times, I have found that some hosts will up the spam ante when you don't include almost _all_ of the headers

Re: [PHP] Mail SMTP settings

2005-12-05 Thread Brent Baisley
There are a lot of limitations in the built-in PHP mail function. If you want more control over how your email is sent, try using phpmailer. It's all php code, so you can customize it to your needs, not that you need to. http://phpmailer.sourceforge.net/ On Dec 3, 2005, at 2:45 AM, Dan

RE: [PHP] Mail SMTP settings

2005-12-05 Thread Mark Steudel
Also look at PEAR::Mail. If you search back through this list there was a discussion on peoples preferences. -Original Message- From: Brent Baisley [mailto:[EMAIL PROTECTED] Sent: Monday, December 05, 2005 7:04 AM To: Dan Cc: php-general@lists.php.net Subject: Re: [PHP] Mail SMTP

Re: [PHP] Mail SMTP settings

2005-12-04 Thread Curt Zirzow
On Sat, Dec 03, 2005 at 10:17:59PM -0700, Dan wrote: Yes that does work but the return path and my mail headers still show the main domain. My point is that PHP should be acessing my SMTP server specified but it is using the default local host instead. If you note at php.net/mail that the

Re: [PHP] Mail SMTP settings

2005-12-03 Thread Curt Zirzow
On Sat, Dec 03, 2005 at 12:45:24AM -0700, Dan wrote: I have a PHP 4.x install on an Apache server. I have a PHP application and a call to the mail function. I have 2 static IP's on the server and I have one web server and one instance of postfix for each IP to basically separate the

Re: [PHP] Mail SMTP settings

2005-12-03 Thread Dan
Yes that does work but the return path and my mail headers still show the main domain. My point is that PHP should be acessing my SMTP server specified but it is using the default local host instead. Dan T On Dec 3, 2005, at 11:06 AM, Curt Zirzow wrote: On Sat, Dec 03, 2005 at 12:45:24AM

[PHP] Mail SMTP settings

2005-12-02 Thread Dan
I have a PHP 4.x install on an Apache server. I have a PHP application and a call to the mail function. I have 2 static IP's on the server and I have one web server and one instance of postfix for each IP to basically separate the two sites. The only issue I have right now is sending

Re: [PHP] Mail Injection- Which Mail function Parameters CORRECTED

2005-11-18 Thread Curt Zirzow
On Fri, Nov 18, 2005 at 05:06:36PM -0800, Ligaya Turmelle wrote: $message - yes --- This usually can go without any special escaping, unless you have certain headers (the Boundary: header) or allow an injection into the $additional_headers field. If this is the case a malicious

[PHP] Mail Injection- Which Mail function Parameters

2005-11-17 Thread Chris Drozdowski
Hello, When using the mail() function to send a simple mail message, which specific parameters of the function need to cleaned to prevent mail injection? First of all I am already validating the $to parameter to be a valid email address. After reading

[PHP] Mail Injection- Which Mail function Parameters CORRECTED

2005-11-17 Thread Chris Drozdowski
Hello, When using the mail() function to send a simple mail message, which specific parameters of the function need to cleaned to prevent mail injection? First of all I am already validating the $to parameter to be a valid email address. After reading

Re: [PHP] Mail Injection- Which Mail function Parameters CORRECTED

2005-11-17 Thread Curt Zirzow
On Thu, Nov 17, 2005 at 07:10:06PM -0500, Chris Drozdowski wrote: Hello, When using the mail() function to send a simple mail message, which specific parameters of the function need to cleaned to prevent mail injection? This is a good topic. I'm in the process of writing an article on

Re: [PHP] Mail Injection- Which Mail function Parameters CORRECTED

2005-11-17 Thread Ligaya Turmelle
$message - yes --- This usually can go without any special escaping, unless you have certain headers (the Boundary: header) or allow an injection into the $additional_headers field. If this is the case a malicious user could attach a virus to be sent anonymously. Shouldn't you

Re: [PHP] mail return-path problem

2005-11-11 Thread Eric Butera
On 11/8/05, Richard Heyes [EMAIL PROTECTED] wrote: Eric Butera wrote: I was just curious if there was a way to set the return path of an email dynamically. I've looked around and all I could find was a Zend tutorial running sendmail from the command line, which I don't want to do. :) I

[PHP] mail return-path problem

2005-11-08 Thread Eric Butera
I was just curious if there was a way to set the return path of an email dynamically. I've looked around and all I could find was a Zend tutorial running sendmail from the command line, which I don't want to do. :) I tried setting Return-Path: in the mail() headers, but that didn't seem to make a

Re: [PHP] mail return-path problem

2005-11-08 Thread Richard Heyes
Eric Butera wrote: I was just curious if there was a way to set the return path of an email dynamically. I've looked around and all I could find was a Zend tutorial running sendmail from the command line, which I don't want to do. :) I tried setting Return-Path: in the mail() headers, but that

Re: [PHP] mail return-path problem

2005-11-08 Thread Richard Lynch
On Tue, November 8, 2005 9:47 am, Eric Butera wrote: I was just curious if there was a way to set the return path of an email dynamically. I've looked around and all I could find was a Zend tutorial running sendmail from the command line, which I don't want to do. :) I tried setting

[PHP] php mail function vs smtp server

2005-10-31 Thread Clive
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. clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 sending

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

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

Re: [PHP] php mail function vs smtp server

2005-10-31 Thread Paul Waring
at a time really) using something like PEAR Queue as has already been suggested. There also another option with the class: using the sendmail program, but won't the php mail function use sendmail anyway As far as I know, mail() just sends stuff to whatever the sendmail binary is on your system

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

<    1   2   3   4   5   6   7   8   9   10   >