Re: [PHP] mail() encoded subject line

2006-10-16 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-10-16 14:32:12 +0200: I hope this is not too off topic but I have a problem when I use mail(). When I add the header Content-Type: text/plain; charset=UTF-8 the body of the mail is encoded fine but the subject is not encoded. I've tried to utf8_encode() and

Re: [PHP] mail delivery

2006-10-06 Thread Richard Lynch
On Fri, October 6, 2006 6:18 am, Ross wrote: Is there anyway to setup a mail delivery with mail() or phpmailer? I send out a mass mail and some get returned but there is no message who they are being returned from. usually you get something like. This message was created

Re: [PHP] Mail Problem

2006-09-26 Thread Kevin Murphy
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 the @ sign and stuff. if

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

Re: [PHP] mail() help

2006-09-12 Thread David Tulloh
Your email is going to the bulk mail folder because the email provider believes that it's spam. It's nothing specifically wrong with your email, there is no this isn't spam flag, otherwise everyone would set it. To figure out why the email is being marked as spam, check the program that is doing

RE: [PHP] mail() help

2006-09-12 Thread Peter Lauri
What are you doing on this line: $headers .= 'From: MyADTV asureshkumar_1983'@yahoo.co.in' . \r\n; Should it not be: $headers .= 'From: MyADTV [EMAIL PROTECTED]' . \r\n; ? /Peter www.lauri.se - personal web site www.dwsasia.com - company web site -Original Message- From: suresh

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

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

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').

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
Hello, Show us the full context of the code. The example you give us will work fine but that doesn't tell us what's really going on in your code. Here is the function I use to allow french special characters in the subject line (copied from german university tutorial

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

2006-06-26 Thread Adam Zey
Leonidas Safran wrote: Hello, Show us the full context of the code. The example you give us will work fine but that doesn't tell us what's really going on in your code. Here is the function I use to allow french special characters in the subject line (copied from german university tutorial

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:

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
On 6/10/06, aci india [EMAIL PROTECTED] wrote: NOTE: Sorry for the very long code Please paste long code snippets in a website like pastebin.com. Also, the code is hard to read because of the complete lack of indentation. I suggest you atleast attempt to debug your code before posting it

Re: [PHP] Mail sending program (beginner)

2006-06-10 Thread benifactor
i don't really understand what your trying to do here but if im correct there is a much easier way... if you are trying to make a newletter sign up this is simple. there is no reason to send the email to the database simply have the enter thier email address, use regex to check it, if it passes

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

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.

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

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
On Thu, 2006-05-04 at 17:51 +0700, Peter Lauri wrote: Paul, I did make a search on this. However, as you understand, searching for hotmail mail header will generate to much junk because it will be replies from hotmails that also will be included. Try the mail function on http://za2.php.net/

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,

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 =

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

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

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

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

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

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

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

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

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

Re: [PHP] mail() with port authentication

2005-10-07 Thread Richard Lynch
On Wed, October 5, 2005 11:59 pm, Brian Dunning wrote: Do I need to use Pear to specify port 587 and authentication when sending mail? I could not find any way to do it using mail(). If you have access to sendmail.cf on your box, you can probably do it there... Or, put it this way: On MY box

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 that

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

2005-09-19 Thread David Tulloh
It looks like somebody is trying to launch an e-mail injection attack. Looking at your code, I don't think you are vulnerable. You can read more about e-mail injection at http://securephp.damonkohler.com/index.php/Email_Injection You could also send nasty e-mails to [EMAIL PROTECTED], telling

Re: [PHP] Mail-format...

2005-09-19 Thread Gustav Wiberg
- Original Message - From: David Tulloh [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Monday, September 19, 2005 8:19 AM Subject: Re: [PHP] Mail-format... It looks like somebody is trying to launch an e-mail injection attack

Re: [PHP] mail()

2005-08-17 Thread John Nichel
George B wrote: Warning: mail() [function.mail]: Failed to connect to mailserver at localhost port 25, verify your SMTP and smtp_port setting in php.ini or use ini_set() I checked php.ini and everything is open [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32

Re: [PHP] mail()

2005-08-17 Thread Jordan Miller
Did you install sendmail? http://www.php.net/mail Requirements For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time. If you use another mail program, such as qmail or postfix, be sure to use the appropriate sendmail

Re: [PHP] mail()

2005-08-17 Thread André Medeiros
Do you have a mail server running? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail()

2005-08-17 Thread John Nichel
Jordan Miller wrote: Did you install sendmail? No sendmail for Windows. He either has to have a Microsoft MTA running on localhost, or use an upstream SMTP account. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] mail()

2005-08-17 Thread George B
John Nichel wrote: George B wrote: Warning: mail() [function.mail]: Failed to connect to mailserver at localhost port 25, verify your SMTP and smtp_port setting in php.ini or use ini_set() I checked php.ini and everything is open [mail function] ; For Win32 only. SMTP = localhost smtp_port

Re: [PHP] mail()

2005-08-17 Thread George B
André Medeiros wrote: Do you have a mail server running? No, how do I get a mail server running? And does it allow me to receive e-mails, or only send? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail()

2005-08-17 Thread John Nichel
George B wrote: John Nichel wrote: snip Do you have a MTA running on localhost? No,whats an MTA? Mail Transfer Agent. A mail server. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] mail()

2005-08-17 Thread John Nichel
George B wrote: André Medeiros wrote: Do you have a mail server running? No, how do I get a mail server running? And does it allow me to receive e-mails, or only send? That is way beyond the scope of this list. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] --

Re: [PHP] mail()

2005-08-17 Thread George B
John Nichel wrote: Jordan Miller wrote: Did you install sendmail? No sendmail for Windows. He either has to have a Microsoft MTA running on localhost, or use an upstream SMTP account. There is no Microsoft MTA, I searched google couldnt find anything. so. Anyway, im screwed and I cant

RE: [PHP] mail()

2005-08-17 Thread Shaw, Chris - Accenture
Can you send to a smtp server provided by your isp? -Original Message- From: George B [mailto:[EMAIL PROTECTED] Sent: 17 August 2005 18:11 To: php-general@lists.php.net Subject: Re: [PHP] mail() * This e-mail has been received by the Revenue

Re: [PHP] mail()

2005-08-17 Thread John Nichel
George B wrote: John Nichel wrote: Jordan Miller wrote: Did you install sendmail? No sendmail for Windows. He either has to have a Microsoft MTA running on localhost, or use an upstream SMTP account. There is no Microsoft MTA, I searched google couldnt find anything. so. MTA is a

RE: [PHP] mail()

2005-08-17 Thread Jay Blanchard
[snip] There is no Microsoft MTA, I searched google couldnt find anything. so. [/snip] http://www.google.com/search?hl=enq=windows+mail+transfer+agent Lots of options... http://www.google.com/search?hl=enlr=q=Microsoft+MTA Actually turned up a lot of stuff. -- PHP General Mailing List

Re: [PHP] mail()

2005-08-17 Thread George B
Shaw, Chris - Accenture wrote: Can you send to a smtp server provided by your isp? -Original Message- From: George B [mailto:[EMAIL PROTECTED] Sent: 17 August 2005 18:11 To: php-general@lists.php.net Subject: Re: [PHP] mail() * This e-mail has been

RE: [PHP] mail()

2005-08-17 Thread Shaw, Chris - Accenture
snip yeah I can send to the SMTP server of my ISP, but no where else. /snip If you can send to the smtp server then your ISP should deliver the email. If you have not filled in the sendmail_from var in the php.ini correctly, they cannot send back a mail saying there was a problem with the

Re: [PHP] mail()

2005-08-17 Thread George B
Shaw, Chris - Accenture wrote: snip yeah I can send to the SMTP server of my ISP, but no where else. /snip If you can send to the smtp server then your ISP should deliver the email. If you have not filled in the sendmail_from var in the php.ini correctly, they cannot send back a mail saying

Re: [PHP] mail()

2005-08-17 Thread Stephen Johnson
Why not change the email address to be a valid one and receive through your ISP. On 8/17/05 11:28 AM, George B [EMAIL PROTECTED] wrote: Shaw, Chris - Accenture wrote: snip yeah I can send to the SMTP server of my ISP, but no where else. /snip If you can send to the smtp server then your

Re: [PHP] mail()

2005-08-17 Thread John Nichel
George B wrote: snip Ok guys! It has sent the mail succesfully everywhere! Now one more thing. How do I make it so I can receive mail? I am using my ISP's POP server but I dosent send back because my e-mail is [EMAIL PROTECTED] How do I setup my own domain and does it cost money for an e-mail?

RE: [PHP] mail()

2005-08-17 Thread Shaw, Chris - Accenture
snip Ok guys! It has sent the mail succesfully everywhere! Now one more thing. How do I make it so I can receive mail? I am using my ISP's POP server but I dosent send back because my e-mail is [EMAIL PROTECTED] How do I setup my own domain and does it cost money for an e-mail? /snip I suggest

Re: [PHP] mail()

2005-08-17 Thread André Medeiros
If you want to receive e-mails from the outside, yes, you'll have to register a domain, configure an MTA to work on windows and all that jazz. Besides, if you want to manage pop, you might as well start looking at the php4-imap / php5-imap module to be able to work with POP more easily. I might

Re: [PHP] mail()

2005-08-17 Thread George B
André Medeiros wrote: If you want to receive e-mails from the outside, yes, you'll have to register a domain, configure an MTA to work on windows and all that jazz. Besides, if you want to manage pop, you might as well start looking at the php4-imap / php5-imap module to be able to work with

Re: [PHP] mail()

2005-08-17 Thread Jasper Bryant-Greene
George B wrote: Can you send a link to a free MTA server please?? I don't mean to be rude, but this is getting beyond a joke. This is a PHP mailing list, not a PHP-and-MTAs-and-domains-and-everything-in-between mailing list. Google is your friend:

Re: [PHP] Mail-id validation script

2005-08-12 Thread Jasper Bryant-Greene
Nahalingam Kanakavel wrote: Now I am doing a project using PHP, in that I created a form. That form has a field called e-mailid, to validate that I need a script (function), whether I have to write it in the server side or client side, which one is better?. I need your suggestions, If any

Re: [PHP] Mail Function

2005-07-22 Thread Richard Lynch
On Tue, July 19, 2005 4:31 pm, Cabbar Duzayak said: I have a web site that is going to have around total of 10-20 thousand unique users, about 1000 unique hits per day on shared hosting. I have been using PHP's internal mail mechanism with the local smtp server on my hosting company, but it

Re: [PHP] mail will not send attachment

2005-07-21 Thread André Medeiros
Try http://phpmailer.sourceforge.net/ Works awesomelly great. I've been using it for quite some time now, and I don't want to look at mail() again :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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