[PHP] Php Mail not working properly

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] mail with attachment

2004-12-08 Thread Dre
Hi, I'm trying to send a mail with attachment, using mail() fucntion .. the mail is sent with the attached file, but when I open my mail box to check the mail I sent using my script, I find the normal text contents and the attachment displayed as text too !!! ex. if I attached a document, it will

[PHP] PHP mail redirect ??

2004-12-01 Thread Michael Gale
Hello, I have been playing around with a web mail app called NOCC (http://nocc.sourceforge.net/) It has some nice features and is quick. I want to add in a redirect button for mail, there is a forward button but it forwards mail just like a regular client for ... as expected. But I want a

RE: [PHP] PHP mail redirect ??

2004-12-01 Thread Vail, Warren
on that machine AND there needs to be a mailbox for bert set up on that server. HTH Warren Vail -Original Message- From: Michael Gale [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 7:26 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP mail redirect ?? Hello, I have been

Re: [PHP] PHP mail redirect ??

2004-12-01 Thread Michael Gale
on that machine AND there needs to be a mailbox for bert set up on that server. HTH Warren Vail -Original Message- From: Michael Gale [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 7:26 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP mail redirect ?? Hello, I have been playing around

RE: [PHP] PHP mail redirect ??

2004-12-01 Thread Vail, Warren
] Sent: Wednesday, December 01, 2004 7:48 PM To: Vail, Warren; [EMAIL PROTECTED] Subject: Re: [PHP] PHP mail redirect ?? Hello, There is another smtp server ... I should of provided more info ... I set up a postfix server to do the following: 1. Receives mail from outside

Re: [PHP] PHP mail redirect ??

2004-12-01 Thread Michael Gale
to be a daemon running on that machine AND there needs to be a mailbox for bert set up on that server. HTH Warren Vail -Original Message- From: Michael Gale [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 7:26 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP mail redirect ?? Hello, I

[PHP] mail() problem

2004-11-24 Thread Johan van Zyl
Hi All I use sample code from PHPFreaks i.e. mail($email_address, $subject, $message, From: realcorp.net Webmaster[EMAIL PROTECTED]\nX-Mailer: PHP/ . phpversion()); When the e-mail address is [EMAIL PROTECTED] (hosted by my telco/isp) it works. When I try [EMAIL PROTECTED] (via godaddy) it does

Re: [PHP] mail() problem

2004-11-24 Thread Jon-Eirik Pettersen
Johan van Zyl wrote: Hi All I use sample code from PHPFreaks i.e. mail($email_address, $subject, $message, From: realcorp.net Webmaster[EMAIL PROTECTED]\nX-Mailer: PHP/ . phpversion()); When the e-mail address is [EMAIL PROTECTED] (hosted by my telco/isp) it works. When I try [EMAIL PROTECTED]

[PHP] php mail() sendmail hanging freebsd 4.10

2004-11-21 Thread Thomas S. Crum
When hitting php pages that use the mail() function, I get a 5 second hang in the browser. The mail is then being delivered fine. Many of the same scripts that use this mail function ran fine with ½ sec. or less delay on my old redhat box. Any ideas how to make it run quicker would be greatly

Re: [PHP] mail() issue...

2004-11-19 Thread rouvas
Start sendmail with appropriate params to queue messages and not send them immediately. That way, sendmail will immediately accept the message and your script will be freed. sendmail will process the message shortly without delaying you. -Stathis On Thursday 18 November 2004 21:34, Scott

Re: [PHP] mail() issue...

2004-11-19 Thread Manuel Lemos
Hello, On 11/18/2004 04:42 PM, Paul Danko wrote: I am building an application that uses the mail() command. I am running on RedHat v9 with Apache v2 and PHP v4.3.8. The problem is, when I run the mail() function, the submitting page is very slow (1-2 seconds), I assume because it is waiting for

[PHP] mail() issue...

2004-11-18 Thread Paul Danko
I am building an application that uses the mail() command. I am running on RedHat v9 with Apache v2 and PHP v4.3.8. The problem is, when I run the mail() function, the submitting page is very slow (1-2 seconds), I assume because it is waiting for the message to be queued up by SendMail. Is there a

Re: [PHP] mail() issue...

2004-11-18 Thread Scott Fletcher
I did have that similar problem when it took about a minute or two on unix machine. It turn out to be a DNS issue, so the successful workaround I made was to use the host file instead in /etc/hosts by added the machine name to it since that what the sendmail use. Maybe this is in your case?

Re: [PHP] php mail() error

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

Re: [PHP] Re: php mail() error

2004-11-14 Thread Manuel Lemos
Hello, On 11/14/2004 04:11 AM, Curt Zirzow wrote: Im using the php mail() function to try send an email to a user that has just registered. mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website Registration' , 'Welcome'); But when I get the following error back.: Warning: mail(): SMTP

Re: [PHP] php mail() error

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

Re: [PHP] php mail() error

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

Re: [PHP] php mail() error

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

Re: [PHP] php mail() error

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

Re: [PHP] php mail() error

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

Re: [PHP] Re: php mail() error

2004-11-13 Thread Manuel Lemos
Hello, On 11/13/2004 04:12 AM, Curt Zirzow wrote: Im using the php mail() function to try send an email to a user that has just registered. mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website Registration' , 'Welcome'); But when I get the following error back.: Warning: mail(): SMTP server

Re: [PHP] php mail() error

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

Re: [PHP] Re: php mail() error

2004-11-13 Thread Curt Zirzow
* Thus wrote Manuel Lemos: Hello, On 11/13/2004 04:12 AM, Curt Zirzow wrote: Im using the php mail() function to try send an email to a user that has just registered. mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website Registration' , 'Welcome'); But when I get the following

Re: [PHP] php mail() error

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

Re: [PHP] Re: php mail() error

2004-11-12 Thread Curt Zirzow
* Thus wrote Manuel Lemos: Hello, On 11/10/2004 10:36 AM, Garth Hapgood - Strickland wrote: Im using the php mail() function to try send an email to a user that has just registered. mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website Registration' , 'Welcome'); But when I get

[PHP] php mail() error

2004-11-10 Thread Garth Hapgood - Strickland
Im using the php mail() function to try send an email to a user that has just registered. mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website Registration' , 'Welcome'); But when I get the following error back.: Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay

Re: [PHP] php mail() error

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

Re: [PHP] php mail() error

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

[PHP] Re: php mail() error

2004-11-10 Thread Manuel Lemos
Hello, On 11/10/2004 10:36 AM, Garth Hapgood - Strickland wrote: Im using the php mail() function to try send an email to a user that has just registered. mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website Registration' , 'Welcome'); But when I get the following error back.: Warning

Re: [PHP] php mail() error

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

RE: [PHP] php mail() error

2004-11-10 Thread Zareef Ahmed
: Wednesday, November 10, 2004 6:06 PM To: [EMAIL PROTECTED] Subject: [PHP] php mail() error Im using the php mail() function to try send an email to a user that has just registered. mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website Registration' , 'Welcome'); But when I get the following

RE: [PHP] php mail() error

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

[PHP] php mail help

2004-10-28 Thread Patrick E Phillips
I have php installed on my PC as well as an apache webserver and mysql. I am using cox.net as my cable internet provider. They block port 25 but I do not know if that affects what I am trying to do... which is: use the mail() function to send email for my user activation script. I am trying to

[PHP] Re: php mail help

2004-10-28 Thread M. Sokolewicz
*cough*quotes*cough* Patrick E Phillips wrote: I have php installed on my PC as well as an apache webserver and mysql. I am using cox.net as my cable internet provider. They block port 25 but I do not know if that affects what I am trying to do... which is: use the mail() function to send email

[PHP] Mail interface: Unread mails and server-side filtering?

2004-10-18 Thread Christer Enfors
I'm making a web-based email system using imap. This is part of the feature set I'm planning on implementing: 1) Multiple folder support. 2) When viewing a folder, unread mails should be marked as such. 3) Server-side filtering into different folders using procmail. But I can't figure out how do

[PHP] mail problems - phpinfo information

2004-10-13 Thread Jed R. Brubaker
I have been having all kinds of problems with the mail() function in PHP. I realize that there are problems inheritly, but I think I am still trying to track down the problem. My latest theory is that PHP isn't set up to work with the right mailing program. I know that our system is supposed

RE: [PHP] mail problems - phpinfo information

2004-10-13 Thread Jay Blanchard
[snip] ... making me wonder if a local sendmail is handling the requests instead. With all of the above refering to sendmail, is there anyway that my mail() can actually be using qmail? [/snip] From http://www.php.net/mail, something you have not read apparently For the Mail functions to

Re: [PHP] mail problems - phpinfo information

2004-10-13 Thread Matthew Sims
I have been having all kinds of problems with the mail() function in PHP. I realize that there are problems inheritly, but I think I am still trying to track down the problem. My latest theory is that PHP isn't set up to work with the right mailing program. I know that our system is

Re: [PHP] mail problems - phpinfo information

2004-10-13 Thread John Nichel
Jed R. Brubaker wrote: I have been having all kinds of problems with the mail() function in PHP. I realize that there are problems inheritly, but I think I am still trying to track down the problem. My latest theory is that PHP isn't set up to work with the right mailing program. I know that

Re: [PHP] mail problems - phpinfo information

2004-10-13 Thread Jed R. Brubaker
So as I am not an administrator, and all I have to go on is phpinfo (unless anyone has some suggestions), should I be seeing some trace of qmail in the phpinfo? That is why I posted. I apologize if I didn't make it clear. I have read all about mail, and even used the fantastic Lemos MIME

Re: [PHP] mail problems - phpinfo information

2004-10-13 Thread John Nichel
Jay Blanchard wrote: From http://www.php.net/mail, something you have not read apparently Pt. Read? Why would I do that? ;) -- 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 problems - phpinfo information

2004-10-13 Thread John Nichel
Jed R. Brubaker wrote: So as I am not an administrator, and all I have to go on is phpinfo (unless anyone has some suggestions), should I be seeing some trace of qmail in the phpinfo? No. snip Given the paths phpinfo is reporting, is there anyway that the system could somehow still be using

Re: [PHP] mail problems - phpinfo information

2004-10-13 Thread bbonkosk
- Original Message - From: Jed R. Brubaker [EMAIL PROTECTED] Date: Wednesday, October 13, 2004 1:21 pm Subject: Re: [PHP] mail problems - phpinfo information So as I am not an administrator, and all I have to go on is phpinfo (unless anyone has some suggestions), should I be seeing

Re: [PHP] mail problems - phpinfo information

2004-10-13 Thread Matthew Sims
So as I am not an administrator, and all I have to go on is phpinfo (unless anyone has some suggestions), should I be seeing some trace of qmail in the phpinfo? That is why I posted. I apologize if I didn't make it clear. I have read all about mail, and even used the fantastic Lemos MIME

Re: [PHP] mail problems - phpinfo information

2004-10-13 Thread Jason Wong
On Thursday 14 October 2004 01:10, Matthew Sims wrote: The mail settings in php.ini is for Windows only. When using PHP on Unix/Linux, mail() always defaults to the sendmail binary on localhost. So you can ignore what it says in phpinfo. That's incorrect. The sendmail_path = setting is

Re: [PHP] mail() and Verizon

2004-10-05 Thread Sam Smith
The solution was a simple -f (see it in the extra headers just before the last [EMAIL PROTECTED]). Sets the envelope sender address when using sendmail with the -f sendmail option. mail([EMAIL PROTECTED], [EMAIL PROTECTED], Testing the simple mail functions, Did you get this one?, From:

Re: [PHP] mail() and Verizon

2004-10-05 Thread Sam Smith
The solution was a simple -f (see it in the extra headers just before the last [EMAIL PROTECTED]). Sets the envelope sender address when using sendmail with the -f sendmail option. mail([EMAIL PROTECTED], [EMAIL PROTECTED], Testing the simple mail functions, Did you get this one?, From:

[PHP] mail() and Verizon

2004-09-30 Thread Sam Smith
] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Testing the simple mail functions From: [EMAIL PROTECTED] /header Could the mail server running on web2.nsservers.org be mis-configured? Is there something missing in the header? This mail is being generated from the PHP mail function in a web page

[PHP] mail function and qmail

2004-09-26 Thread php mysql
mail function in php requires to use 'sendmail'. But I have only 'qmail' on the box. How I can send email in PHP? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail() from addess problems

2004-09-07 Thread Josh Close
When I'm using mail() to send an email, the user is always From: Apache [EMAIL PROTECTED] How would I get this to change? I didn't see anything in php.ini or httpd.conf. I've found it's not possible to do a header rewrite with postfix either. -Josh -- PHP General Mailing List

Re: [PHP] mail() from addess problems

2004-09-07 Thread Greg Donald
On Tue, 2004-09-07 at 16:52, Josh Close wrote: When I'm using mail() to send an email, the user is always From: Apache [EMAIL PROTECTED] How would I get this to change? I didn't see anything in php.ini or httpd.conf. I've found it's not possible to do a header rewrite with postfix either.

Re: [PHP] mail() from addess problems

2004-09-07 Thread Matt M.
How would I get this to change? I didn't see anything in php.ini or httpd.conf. I've found it's not possible to do a header rewrite with postfix either. There is examples in the manual http://us2.php.net/mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] mail() from addess problems

2004-09-07 Thread Josh Close
Thanks. -Josh On Tue, 07 Sep 2004 16:55:24 -0500, Greg Donald [EMAIL PROTECTED] wrote: On Tue, 2004-09-07 at 16:52, Josh Close wrote: When I'm using mail() to send an email, the user is always From: Apache [EMAIL PROTECTED] How would I get this to change? I didn't see anything in

Re: [PHP] mail() function problem

2004-09-02 Thread Dre
I'm developing uner Windows at home .. but I'm pretty sure that my host is running Unix or Unix like systems on their machines Pahlevanzadeh Mohsen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Please install a mailserver until your SMTP server will be up. When your SMTP server is

Re: [PHP] mail functions help

2004-09-01 Thread AceZero2790
I tried your command: telnet localhost 25 to see if my SMTP server was up. Obviously it is not, because this is the response I received. Connecting to localhost...could not open connection to host on port 25. No connection could be made because the target machine actively refused it. So how

Fwd: [PHP] mail functions help

2004-09-01 Thread AceZero2790
---BeginMessage--- Are you referring to this post: you just want to see if mail() works try it. ?php if(mail(...)) echo 'yay!'; else echo 'boo!'; ? Or this post? Your SMTP server is the thing that actually transmits the email. On a Windows XP box like you're using, set the SMTP server to be

Re: [PHP] mail functions help

2004-09-01 Thread John Holmes
From: [EMAIL PROTECTED] So how do I get my SMTP server working? How do I stop the target machine (my computer I assume) from refusing the connection? Oh, and if I do fix this, it should make my e-mailing stuff work right? Offtopic for a PHP list and depends on what kind of SMTP server you're

[PHP] mail() function problem

2004-09-01 Thread Dre
Hi I was trying to use the mail() function, but it did not work, maybe because of some settings problem or something that I can't figure out I went online and tried to execute the following //=== ?php $from = $_POST['from']; $subject

[PHP] mail() function problem

2004-09-01 Thread Dre
Hi I was trying to use the mail() function, but it did not work, maybe because of some settings problem or something that I can't figure out I went online and tried to execute the following //=== ?php $from = $_POST['from']; $subject

Re: [PHP] mail() function problem

2004-09-01 Thread Pahlevanzadeh Mohsen
Please install a mailserver until your SMTP server will be up. When your SMTP server is down,mail func doesn't work. My suggesstion: Please work under UNIX systems. Yours,Mohsen --- Dre [EMAIL PROTECTED] wrote: Hi I was trying to use the mail() function, but it did not work, maybe because of

Re: [PHP] mail() function problem

2004-09-01 Thread James Kaufman
On Wed, Sep 01, 2004 at 06:09:04PM +0300, Dre wrote: Hi I was trying to use the mail() function, but it did not work, maybe because of some settings problem or something that I can't figure out I went online and tried to execute the following

[PHP] mail functions help

2004-08-31 Thread AceZero2790
I'm trying to use the eFiction fanction/story archiving script for my website (view the script here: http://www.thesonicworld.net/efiction/), but the registration process is giving me trouble. It's one of those where you fill in your email and username and they send you a default password.

Re: [PHP] mail functions help

2004-08-31 Thread Pahlevanzadeh Mohsen
Dear,Please use following command for test of your SMTP server: telnet localhost 25 You must recv following message if your SMTP server is up: Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 localhost.localdomain ESMTP Sendmail 8.12.10/8.12.10;

Re: [PHP] mail functions help

2004-08-31 Thread Jason Wong
On Wednesday 01 September 2004 06:28, [EMAIL PROTECTED] wrote: What is my SMTP server? How do I enable it/make sure its working? If it isn't working, how do I get it to work? Between your original post and this one (asking exactly the same thing), did you manage to fit in some research of

Re: [PHP] mail functions help

2004-08-31 Thread Matthew Sims
Well, I'm not getting that e-mail. I was told I need to make sure my mail functions are active. Furthermore I have been told lots of things about SMTP servers and webservers and localhost and I'm really not following. What is my SMTP server? How do I enable it/make sure its working? If it

[PHP] mail filtering ... procmail + php query

2004-08-28 Thread vivek athalye
hi, after looking at the imap functions...i was wondering how the mail filtering works... afaik procmail does that...but is there any std way / php functions to set the filters? i know the filtering depends on mail server...but if we assume that it is done using procmail... is it somehow

Re: [PHP] mail filtering ... procmail + php query

2004-08-28 Thread Jason Wong
On Saturday 28 August 2004 18:36, vivek athalye wrote: after looking at the imap functions...i was wondering how the mail filtering works... afaik procmail does that... If by filtering you mean imap_search() then that works in a completely different way to procmail. but is there any std way

[PHP] mail functions help

2004-08-25 Thread AceZero2790
I'm trying to make sure that my mail functons are on for a script I need to work. I run an Apache 1.3.31, so I am my own webhost. Now I just need to know how to make sure my mailfunctions are on. Here is the mail functions part of php.ini pertaining to me (the windows part because I am on XP):

Re: [PHP] mail functions help

2004-08-25 Thread Greg Donald
On Wed, 2004-08-25 at 15:11, [EMAIL PROTECTED] wrote: I'm trying to make sure that my mail functons are on for a script I need to work. I run an Apache 1.3.31, so I am my own webhost. Now I just need to know how to make sure my mailfunctions are on. Here is the mail functions part of php.ini

Re: [PHP] mail functions help

2004-08-25 Thread Matthew Sims
snip I've been told stuff about how I need to make sure that my SMTP server (whatever that is??) -Andrew /snip My guess is that you may need to think about setting up a mail server first before you can get mail functions to work. If you don't know what an SMTP server is, first thing to do

Re: [PHP] mail functions help

2004-08-25 Thread enijmax
: Thursday, August 26, 2004 4:11 AM Subject: [PHP] mail functions help I'm trying to make sure that my mail functons are on for a script I need to work. I run an Apache 1.3.31, so I am my own webhost. Now I just need to know how to make sure my mailfunctions are on. Here is the mail functions part

Re: [PHP] mail() on *nix using ssmtp or an external smtp server?

2004-08-18 Thread Markus Mayer
line in a chrooted environment, it works happily. It also worked happily when I wrote my own short C program that emulated what is done in the PHP mail delivery procedures. For what ever reason, it just refused to work through PHP if it was anywhere other than /usr/sbin/ssmtp. So ssmtp

Re: [PHP] mail() on *nix using ssmtp or an external smtp server?

2004-08-18 Thread Markus Mayer
Just an addennum to my previous post 10 minutes ago: For ssmtp to work with apache/php in a chrooted environment, some kind of shell needs to be present in the /bin directory. This seems to be a limitation of PHP rather than some kind of deficiency with ssmtp. This in itself is a kind of

Re: [PHP] mail() on *nix using ssmtp or an external smtp server?

2004-08-17 Thread riese
Hi Markus, Markus Mayer wrote: [MTA in chroot()'d env] Yes, I'm afraid it requires an MTA. Maybe it's a risk, but unsing PHP (or general non-static webpages) generally is a potential security risk # Dan Bernstein, the author of qmail will pay you 1000$ if you exploit qmail. The offer stands

[PHP] Mail module array limits

2004-08-17 Thread Sandy Keathley
is that there is a limit to the size of the array that Mail can handle. I have not tried using the builtin PHP mail function. Does anyone know a better way to accomplish this? Thanks. Sandy Keathley -- PHP General Mailing List (http://www.php.net

Re: [PHP] Mail module array limits

2004-08-17 Thread Nobody Special
of the array, and it was not delivered, so I have to assume that not all are going out. you should ask your host for access to the maillogs on the server. My thought is that there is a limit to the size of the array that Mail can handle. I have not tried using the builtin PHP mail function. Does

[PHP] mail() on *nix using ssmtp or an external smtp server?

2004-08-16 Thread Markus Mayer
Hello all! I have a frustrating problem with PHP and am hoping someone on the list might know a solution. I need to set up an apache server with php on Linux and AIX machines, and it all has to be in a chrooted environment. Most things work very well except for the mail() function. It

Re: [PHP] mail() on *nix using ssmtp or an external smtp server?

2004-08-16 Thread Stephan Fiedler
Hi Markus, do I get you right, you can't invoke mail() because php can't find the sendmail executable? perhaps this does the trick: function my_mail_inject($mail) { $sendmail = ini_get(sendmail_path); if(!$sendmail) $sendmail = /var/qmail/bin/qmail-inject; $p = popen($sendmail, w); if($p) {

Re: [PHP] mail() on *nix using ssmtp or an external smtp server?

2004-08-16 Thread Markus Mayer
Hi Stephan, On Monday 16 August 2004 15:16, Stephan Fiedler wrote: do I get you right, you can't invoke mail() because php can't find the sendmail executable? Indeed you get me right. As I said in my post, alternatives such as qmail, exim, postfix and similar full featured MTA's in the

[PHP] mail() and the From: attribute...

2004-08-13 Thread Tristan . Pretty
I'm sending out a mail, en mass to about 25 people, using the while loop from a MySQL query... Anyhoo, In the mail() function, if I use the final field for the From: attribute. I'm having probs... HAving: ...From: [EMAIL PROTECTED]); doesn't work on all recipients... BUT.. ... From:

Re: [PHP] mail() and the From: attribute...

2004-08-13 Thread John Nichel
[EMAIL PROTECTED] wrote: I'm sending out a mail, en mass to about 25 people, using the while loop from a MySQL query... You could send out just one mail, and put all the names in the BCC field. Save yourself a few SMTP connections. I think there's a limit to how many addresses you can have in

Re: [PHP] mail() and the From: attribute...

2004-08-13 Thread John Nichel
[EMAIL PROTECTED] wrote: I've tried just having a name, and it still doesn't reach my notes based E-mail... :-( Hmmm, also, how do you specify to send in the BCC field, using the mail() function? In the headers http://us4.php.net/manual/en/function.mail.php mail ( to, subject, message [,

Re: [PHP] mail() and the From: attribute...

2004-08-13 Thread Tristan . Pretty
Nichel [EMAIL PROTECTED] Date: 08/13/2004 01:52PM Subject: Re: [PHP] mail() and the From: attribute... [EMAIL PROTECTED] wrote: I'm sending out a mail, en mass to about 25 people, using the while loop from a MySQL query... You could send out just one mail, and put all the names in the BCC field

Re: [PHP] mail() and the From: attribute...

2004-08-13 Thread Stephan Fiedler
Hi Tristan, [EMAIL PROTECTED] wrote: HAving: ...From: [EMAIL PROTECTED]); doesn't work on all recipients... BUT.. ... From: justaname); Works on others... but not all...? Surely this can't be? I've never come accross this before? Any ideas what's up? Well, what I do when sending mail with a

[PHP] MAIL function sends as anonymouse@mydomain.com instead of what I specify in php.ini?

2004-08-09 Thread BOOT
I am sure that this is a problem with my MTA configuration not PHP itself, but any help would be appreciated. PHP is set to use sendmail (although I understand that my server may be using qmail and not really sendmail?) It seems that whatever SMPT settings I place in php.ini ignores. (SMTP

Re: [PHP] MAIL function sends as anonymouse@mydomain.com instead of what I specify in php.ini?

2004-08-09 Thread Robby Russell
On Mon, 2004-08-09 at 08:56, BOOT wrote: I am sure that this is a problem with my MTA configuration not PHP itself, but any help would be appreciated. PHP is set to use sendmail (although I understand that my server may be using qmail and not really sendmail?) It seems that whatever SMPT

Re: [PHP] MAIL function sends as anonymouse@mydomain.com instead of what I specify in php.ini?

2004-08-09 Thread Jason Wong
On Monday 09 August 2004 23:56, BOOT wrote: I am sure that this is a problem with my MTA configuration not PHP itself, but any help would be appreciated. PHP is set to use sendmail (although I understand that my server may be using qmail and not really sendmail?) Makes no practical

[PHP] mail() function not working

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

Re: [PHP] mail() function not working

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

Re: [PHP] mail() function not working

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

Re: [PHP] mail() function not working

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

[PHP] Mail System Error - Returned Mail

2004-07-27 Thread nick
The original message was included as attachment -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail problem

2004-07-11 Thread Justin Patrin
You should also be using $_POST instead of $HTTP_POST_VARS. $_POST is a superglobal, so you can use it anywehere, it's shorter ;-), and it's the official way to access post vars. On Sun, 11 Jul 2004 08:52:54 +0800, Jason Wong [EMAIL PROTECTED] wrote: On Sunday 11 July 2004 08:33, Joao Gomes

Re: [PHP] mail problem

2004-07-11 Thread Dennis Seavers
Lister, this may be a dumb question, but please don't bother responding.) [Original Message] From: Justin Patrin [EMAIL PROTECTED] To: Jason Wong [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: 07/11/2004 12:29:24 AM Subject: Re: [PHP] mail problem You should also be using $_POST instead

Re: [PHP] mail problem

2004-07-11 Thread Aidan Lister
Is it not true that $HTTP_POST_VARS is more secure than $_POST, even though the latter is a superglobal? Doesn't the former acount for un-updated server versions? If it isn't, what disadvantage is there to using $HTTP_POST_VARS? Why should one use $_POST instead? No, $HTTP_xxx is not more

[PHP] mail problem

2004-07-10 Thread Joao Gomes
Hi, I am a beginner in php and I am trying to send emails from my machinne, I dont have any mail server installed in my computer (e.g. sendmail), btw i am running Windows XP, i wrote this script: ? $name=$HTTP_POST_VARS['name']; $email=$HTTP_POST_VARS['email'];

Re: [PHP] mail problem

2004-07-10 Thread Jason Wong
On Sunday 11 July 2004 08:33, Joao Gomes wrote: I am a beginner in php and I am trying to send emails from my machinne, I dont have any mail server installed in my computer (e.g. sendmail), btw i am running Windows XP, i wrote this script: [snip] and changed the php.ini to: [mail

Re: [PHP] Mail Processing - Bounce

2004-07-03 Thread Jason Wong
On Wednesday 30 June 2004 01:17, Jason Williard wrote: I'm building a tool to process incoming mail. So far, I have a script that receives mail that is piped to it. I am able to process the mail without a problem. However, the script causes a bounce message containing the output of the

[PHP] Mail Processing - Bounce

2004-06-29 Thread Jason Williard
I'm building a tool to process incoming mail. So far, I have a script that receives mail that is piped to it. I am able to process the mail without a problem. However, the script causes a bounce message containing the output of the script. Does anyone know how I can fix this? The script:

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