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

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

[PHP] mail() with port authentication

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

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.

[PHP] mail function-new line-security

2005-09-27 Thread Peppy
I have been working on making my contact forms more secure. In my research, the occurence of the new line character \n at the end of the $headers variable in the mail function seems to be a security risk and opens one up to injection of spam email. This part I understand. I have been unable

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

[PHP] Mail-format...

2005-09-18 Thread Gustav Wiberg
Hi there! I wonder why I get get these kind of mails (look down below in this mail) I recieve them sometimes... ...I have a code like this... $name = $_POST[frmNamn]; $email = $_POST[frmEpost]; //Send mail that there is a new member // mail([EMAIL PROTECTED],Ny medlem - Stammis

[PHP] [Mail]mb_encode_mimeheader

2005-09-07 Thread Sylvain Gourvil
Hi ! I need some help for mail's encoding structure. I use this code for encoding french character like 'é' or 'è': mb_language('uni'); mb_internal_encoding(mb_detect_encoding($this-subject)); $res = mail('[EMAIL PROTECTED]',

[PHP] mail list test - ignore!

2005-08-18 Thread Paul Nicholson
Hey guys! Just testing... Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail()

2005-08-17 Thread George B
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 only. sendmail_from

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[2]: [PHP] mail()

2005-08-17 Thread Tom Rogers
Hi, Thursday, August 18, 2005, 3:02:40 AM, you wrote: GB André Medeiros wrote: Do you have a mail server running? GB No, how do I get a mail server running? And does it allow me to receive GB e-mails, or only send? Try this, they have a free version which will do what you want. If you have a

[PHP] Mail-id validation script

2005-08-12 Thread Nahalingam Kanakavel
Hai all, This is naha, I am very new to PHP as well as this group, I am in need of your guidence all my way. 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

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] Including Check box ifo in PHP mail

2005-07-29 Thread Chirantan Ghosh
Hi Everybody, The reference PHP is http://www.primarywave.com/BrokerOutpost_Contact.php. I want it have Checkbox like http://www.primarywave.com/BrokerOutpost_Contact.htm have it sent vis POST form action like the PHP sited before. My ignorace is getting the best of me do help please. The

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

[PHP] mail will not send attachment

2005-07-21 Thread Ross
Please help, I need the body of this email to be sent as HTML and have the attachment go with it (a pdf from my HD) but it doesn't want to send. R. ?php include ('connect.php'); global $mail_to, $mail_cc, $mail_bcc, $mail_from,

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

[PHP] Mail Function

2005-07-19 Thread Cabbar Duzayak
Hi, 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 is more like a hit-and-miss kind of thing. And,

[PHP] Mail System Error - Returned Mail

2005-07-03 Thread Post Office
WARNING: This e-mail has been altered by MIMEDefang. Following this paragraph are indications of the actual changes made. For more information about your site's MIMEDefang policy, contact 190.sy Administrator [EMAIL PROTECTED]. For more information about MIMEDefang, see:

[PHP] mail:: very weird behaviour!

2005-07-03 Thread Andy Pieters
Hi all So I constructed the mail message with attachements and all, and when I echo the contents to the screen, I get the entire message as intended. But when the message is actually sent, it is NOT received the same! In one test, the base64 part contains different text from what I actually

Re: [PHP] mail:: very weird behaviour!

2005-07-03 Thread Andy Pieters
Ok, found out what was happening. It seems that if the message contains MIME syntax errors, actual behaviour of sendmail (or its php wrapper) is unspecified. Anyway, I forgot a semicolomn here and a linebreak there and whoosh! almost all of my hair pulled out! Thanks Andy -- Registered

[PHP] mail()===false but msg is sent!

2005-07-02 Thread Andy Pieters
Hi all I have this situation where mail() returns a false status but the message is actually accepted AND reaches destination! The PHP Version is 4.3.10, the OS Linux So what I do is ( $header=header for multipart mime message; $body=body with multipart mime message; $result=mail(Name

Re: [PHP] mail()===false but msg is sent!

2005-07-02 Thread Richard Lynch
On Sat, July 2, 2005 3:11 pm, Andy Pieters said: I have this situation where mail() returns a false status but the message is actually accepted AND reaches destination! The PHP Version is 4.3.10, the OS Linux So what I do is ( $header=header for multipart mime message; $body=body with

[PHP] Mail System Error - Returned Mail

2005-06-26 Thread Mail Administrator
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Mail System Error - Returned Mail

2005-06-21 Thread Automatic Email Delivery Software
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner

[PHP] Mail System Error - Returned Mail

2005-06-10 Thread Returned mail
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner

Re: [PHP] Mail function

2005-05-18 Thread Richard Lynch
tells PHP that it's time to queue up all 100 emails. Then the end user won't even have to wait for 100 emails to get queued up in line. They only have to wait for the flag to get set which should take, like, less than one second. There are also innumerable PHP mail classes out there to make

[PHP] Mail function

2005-05-17 Thread virtualsoftware
Hi, I have a script which send emails using mail() function. I have 100 email addresses and i set up the script to send 1 email every 10 seconds. So, it will take 1000 seconds to send all 100 emails. My question is: If I stop the script after,let's say 12 seconds, it will send only 1 email

[PHP] mail() Problem

2005-05-09 Thread Mary-Anne Nayler
Hi. I am very new to this group and this is my first request for help so please be patient. when I try to use the mail() function in a PHP based webpage I get the following error: Fatal error: Call to undefined function: mail() in the path to my script on line line number I have tried

Re: [PHP] mail() Problem

2005-05-09 Thread dan
Mary-Anne Nayler wrote: Hi. I am very new to this group and this is my first request for help so please be patient. when I try to use the mail() function in a PHP based webpage I get the following error: Fatal error: Call to undefined function: mail() in the path to my script on line line

Re: [PHP] mail() Problem

2005-05-09 Thread Richard Lynch
On Mon, May 9, 2005 4:02 pm, Mary-Anne Nayler said: Fatal error: Call to undefined function: mail() in the path to my script on line line number That means PHP has no mail() function to even call, which is MUCH earlier in the process than sendmail location. Most likely, your webhost has

[PHP] PHP mail

2005-05-05 Thread Eustace
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

[PHP] Re: PHP mail

2005-05-05 Thread Mathieu Dumoulin
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 I'll show you how we do it here

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

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:

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, somebody show

[PHP] mail problem

2005-04-29 Thread Ross
I get the following mail problem when trying to send from localhost. Any ideas? Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in c:\Inetpub\wwwroot\ssn\adv_mail.php on line 179 R. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] mail problem

2005-04-29 Thread Brent Baisley
It probably means your email server is not setup for open relaying (aka spam server). Mail servers should require a login in order to send email through them. The mail() function itself doesn't support names and passwords, but other php functions do. You might want to look into phpmailer to

[PHP] Mail problem with PEAR

2005-04-12 Thread marc serra
Hi, i want to send an email with an attached file using PEAR classes. I succeed to do it with one recipients and more. I use an external SMTP to send it. My problem is that when i want to send an email with for example 4 recipients and 1 attached file, the mail is send 4 times to the SMTP

Re: [PHP] Mail problem with PEAR

2005-04-12 Thread Josip Dzolonga
On , 2005-04-12 at 12:15 +0200, marc serra wrote: Hi, i want to send an email with an attached file using PEAR classes. I succeed to do it with one recipients and more. I use an external SMTP to send it. My problem is that when i want to send an email with for example 4 recipients and 1

Re: [PHP] Mail with acknowledgement of delivery

2005-04-05 Thread Richard Lynch
On Wed, March 30, 2005 8:31 am, marc serra said: I got a problem with mail function. I want to know if it's possible to send a email in php and to get back an acknowledgement of delivery. My problem is that i want to know if my emails are delivered successfully to recipients. Can you please

[PHP] Mail with acknowledgement of delivery

2005-03-30 Thread marc serra
Hi, I got a problem with mail function. I want to know if it's possible to send a email in php and to get back an acknowledgement of delivery. My problem is that i want to know if my emails are delivered successfully to recipients. Can you please tell how to do this if there is a solution.

Re: [PHP] Mail with acknowledgement of delivery

2005-03-30 Thread Leif Gregory
Hello marc, Wednesday, March 30, 2005, 8:31:48 AM, you wrote: m I got a problem with mail function. I want to know if it's possible m to send a email in php and to get back an acknowledgement of m delivery. My problem is that i want to know if my emails are m delivered successfully to recipients.

Re: [PHP] Mail with acknowledgement of delivery

2005-03-30 Thread Markus Mayer
The mail() function allows you to specify additional headers that go into the mail. Delivery acknowledgement is done using specific headers, the exact format of which I don't know off hand. You will have to find the exact formatting information yourself, however this is the way to go. Markus

[PHP] mail() Alternative?

2005-03-23 Thread Dan Joseph
Hi All, I've had a production system moved to a new server. Our geniuses here have refused to allow sendmail on the server and all my e-mail functions are now gone. Is there a way around this? I have already checked the manual, I don't see anything -- -Dan Joseph Build a man a fire, and

Re: [PHP] mail() Alternative?

2005-03-23 Thread Chris Boget
I've had a production system moved to a new server. Our geniuses here have refused to allow sendmail on the server and all my e-mail functions are now gone. Is there a way around this? I have already checked the manual, I don't see anything You can always look into utilizing

Re: [PHP] mail() Alternative?

2005-03-23 Thread Dan Joseph
You can always look into utilizing PEAR::Mail. Once implemented, tt makes it very easy to switch how you send email out. I recently had to do that and it was as easy as doing a global search and replace. Oh ok. I will look into Pear, thank you Chris! -- -Dan Joseph Build a man a fire,

Re: [PHP] mail() Alternative?

2005-03-23 Thread Guillermo Rauch
Another way is the famous phpmailer() class. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail()

2005-03-12 Thread Sebastian
Hi, it appears mail() stopped working on my server. i recall it worked previously. since i haven't used mail() in a while i dont recall when it stopped working. running php 4.3.10 php.ini is default path for send mail which is the correct path for the server.. anything else i should be looking

Re: [PHP] mail()

2005-03-12 Thread Guillermo Rauch
Hello Sebastian, It'd very useful for those who want to help you out, a good explanation of your error. For example, you're not quoting some error or some error logs that you found related to this behavior. For instance, if you refer to: http://uk.php.net/mail You'll see there's a note

[PHP] mail() takes a long time to process

2005-02-26 Thread Dustin Krysak
Hi there, I have a script that uses the mail() function, but for some reason the script takes a really long time to finish processing (like 5 minutes). there are some other functions performed (like sql insert, etc) that happen immediately as they should. But the mail takes some time to finish

[PHP] mail, CRLF, RFCs, MTAs, Windows and Unix [long]

2005-02-17 Thread Christophe Chisogne
I dont know if it's the right place to post, but anyway... (Sorry for the cross-post.) I think the doc for the mail function [1] should be improved, after reading bug 15841 [2], mail.c [3], skim some RFCs, and after I had different problems with PHP mail() Basicaly, the doc says to use - \n

Re: [PHP] mail, CRLF, RFCs, MTAs, Windows and Unix [long]

2005-02-17 Thread Richard Lynch
Christophe Chisogne wrote: - Under *nix, PHP mail uses \n to send subject, to, etc [3] to the sendmail/postfix/qmail binary (ok, *nix eol is \n), then the MTA uses translate this to SMTP with \r\n (adding \r to standalone \n if needed) -- ok, RFC want \r\n I use sendmail. I use \r\n

Re: [PHP] mail, CRLF, RFCs, MTAs, Windows and Unix [long]

2005-02-17 Thread Richard Lynch
$headers = From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; Hey, what's that bullcrap \r\ in there after the Cc: line?! You can't do that! Use \r\n there or it will NEVER work right. You're not following the spec. :-) -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List

[PHP] mail() function

2005-02-09 Thread Bosky, Dave
I can't seem to get the mail function to work. Is there a way to authenticate before sending mail, I believe this is my issue. Also in my php.ini file the parameter sendmail_path is empty. Is this a required parameter for sending mail? I'm using Windows/IIS. Thanks, Dave HTC

Re: [PHP] mail() function

2005-02-09 Thread John Holmes
Bosky, Dave wrote: I can't seem to get the mail function to work. Is there a way to authenticate before sending mail, I believe this is my issue. No. Manuel will be along soon to tell you to look at the SMTP classes on phpclasses.org, though. ;) There are classes there that do this, so try them.

Re: [PHP] mail() function

2005-02-09 Thread Manuel Lemos
, though. ;) There are classes there that do this, so try them. Thank you for the introduction, John. ;-) Dave, as John mentioned the PHP mail() function does not know how to authenticate. You may want to try this class that comes with a wrapper function named smtp_mail(). It works like the mail

Re: [PHP] mail problem at interland

2005-01-28 Thread David Robley
On Friday 28 January 2005 16:32, Jason Wong wrote: On Friday 28 January 2005 10:09, David Edwards wrote: I have a fairly simple script written that uses the mail() function on a client site hosted at Interland. I have used a similar script quite a few times before with no problem. However

Re: [PHP] mail problem at interland

2005-01-28 Thread R'twick Niceorgaw
Hi David, On Thu, January 27, 2005 9:09 pm, David Edwards said: Hi, $headers .= MIME-Version: 1.0\n; $headers .= Content-type: text/plain; charset=iso-8859-1\n; $headers .= X-Priority: 1\n; $headers .= X-MSMail-Priority: High\n; $headers .= X-Mailer: php\n; $headers .= From: $emailfrom\n;

Re: [PHP] mail problem at interland

2005-01-28 Thread Jason Wong
On Friday 28 January 2005 10:54, R'twick Niceorgaw wrote: I believe the headers have to end with a blank line? If I remeber correctly, the last line in the $headers should have two new lines like $headers .= From: $emailfrom\n\n; No, the mail() function will automatically take care of the

Re: [PHP] mail problem at interland

2005-01-28 Thread Richard Lynch
R'twick Niceorgaw wrote: Hi David, On Thu, January 27, 2005 9:09 pm, David Edwards said: Hi, $headers .= MIME-Version: 1.0\n; $headers .= Content-type: text/plain; charset=iso-8859-1\n; $headers .= X-Priority: 1\n; $headers .= X-MSMail-Priority: High\n; $headers .= X-Mailer: php\n;

[PHP] mail problem at interland

2005-01-27 Thread David Edwards
Hi, I have a fairly simple script written that uses the mail() function on a client site hosted at Interland. I have used a similar script quite a few times before with no problem. However although the script generates no errors, no emails appear at their intended destination. Interland

Re: [PHP] mail problem at interland

2005-01-27 Thread Jason Wong
On Friday 28 January 2005 10:09, David Edwards wrote: I have a fairly simple script written that uses the mail() function on a client site hosted at Interland. I have used a similar script quite a few times before with no problem. However although the script generates no errors, no emails

Re: [PHP] mail() function on linux

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

[PHP] mail() function on linux

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

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

2005-01-15 Thread Kelly
PHP mail(). 'WEBMIN' Jan 14 20:03:13 www sendmail[17613]: [ID 801593 mail.info] j0F23DBA017613: [EMAIL PROTECTED], size=889, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Jan 14 20:03:14 www sendmail[17616]: [ID 801593 mail.info] j0F23D4b017616: from=[EMAIL PROTECTED], size=1083

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

2005-01-15 Thread Manuel Lemos
Hello, on 01/15/2005 12:59 AM Kelly said the following: 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

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

2005-01-15 Thread John Hicks
is sending from PHP mail(). 'WEBMIN' Jan 14 20:03:13 www sendmail[17613]: [ID 801593 mail.info] j0F23DBA017613: [EMAIL PROTECTED], size=889, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Jan 14 20:03:14 www sendmail[17616]: [ID 801593 mail.info] j0F23D4b017616: from=[EMAIL

[PHP] mail() w/ postfix problem in Fedora Core 3

2005-01-10 Thread Nathaniel Price
the option to choose between using PHP mail() or using it's own SMTP client). Whenever I try to send mail with mail(), apache logs the following error: sendmail: fatal: chdir /var/spool/postfix: Permission denied Postfix logs nothing. I have checked the permissions on the /var/spool/postfix

Re: [PHP] mail() w/ postfix problem in Fedora Core 3

2005-01-10 Thread Richard Lynch
(one of the apps I run has the option to choose between using PHP mail() or using it's own SMTP client). Whenever I try to send mail with mail(), apache logs the following error: sendmail: fatal: chdir /var/spool/postfix: Permission denied Confirm what user PHP is running as. http://php.net

Re: [PHP] mail() w/ postfix problem in Fedora Core 3

2005-01-10 Thread Rasmus Lerdorf
of the apps I run has the option to choose between using PHP mail() or using it's own SMTP client). Whenever I try to send mail with mail(), apache logs the following error: sendmail: fatal: chdir /var/spool/postfix: Permission denied Postfix logs nothing. I have checked the permissions

Re: [PHP] mail() w/ postfix problem in Fedora Core 3 FIXED

2005-01-10 Thread Nathaniel Price
Nathaniel Price wrote: I've been searching for the solution to this problem to no avail. I recently did a clean install of FC3 on a server that was running RH8. There were a number of PHP scripts that I had configured to send out email for notices or passwords or the like. However, now that I've

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

[PHP] php mail

2004-12-10 Thread PHPDiscuss - PHP Newsgroups and mailing lists
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

[PHP] php mail

2004-12-10 Thread PHPDiscuss - PHP Newsgroups and mailing lists
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

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

[PHP] Re: Php Mail not working properly

2004-12-10 Thread Manuel Lemos
Hello, 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

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