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

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

Re: [PHP] Mail function

2005-05-18 Thread Richard Lynch
On Tue, May 17, 2005 3:53 pm, [EMAIL PROTECTED] said: 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

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

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

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

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

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

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

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
Hello, on 02/09/2005 07:31 PM John Holmes said the following: 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,

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;

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] 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] mail() w/ postfix problem in Fedora Core 3

2005-01-10 Thread Richard Lynch
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

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

2005-01-10 Thread Rasmus Lerdorf
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] 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

[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 and then

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]

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

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

[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

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:

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

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

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

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

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

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
Hello Andrew: SMTP server can be retrieved from your ISP provider. The function of SMTP server is sending the mail to other SMTP server. For example, if you want send a e-mail [EMAIL PROTECTED] , the SMTP server A will send this mail to SMTP server B, and SMTP server B will send to SMTP

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

2004-08-18 Thread Markus Mayer
I've been trying further to get ssmtp working with apache/php in a chrooted envrionment and have had some success on Linux, so I'm sharing it with everyone else. I've also come to understand quite well how the mail() function is implemented in php too, and actually it's quite simple. All

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

Re: [PHP] Mail module array limits

2004-08-17 Thread Nobody Special
On Tue, 17 Aug 2004 10:17:50 -0700, Sandy Keathley [EMAIL PROTECTED] wrote: I want to send emails to 2700 addresses selected from a MySQL database (an opt-in list). I am using the Mail module, assembling the addresses into an array, and passing that to the module. I have done this before

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

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

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

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

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

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

Re: [PHP] mail sent but not received?!

2004-06-25 Thread Stut
On Fri, 25 Jun 2004 11:08:26 -0500 (CDT), Bing Du [EMAIL PROTECTED] wrote: Since the result of the mail() returned is 1, the message should have been delivered fine. but I did not get anything. Where can I look for more clues of what the problem might be, like possible log, or turn on some

RE: [PHP] mail sent but not received?!

2004-06-25 Thread Josh Close
Your message could have bounced or been rejected for some other reason, in which case you wouldn't have recieved it, but it'll look like it's sent fine. -Josh -Original Message- From: Bing Du [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 11:08 AM To: [EMAIL PROTECTED]

Re: [PHP] mail sent but not received?!

2004-06-25 Thread Curt Zirzow
* Thus wrote Bing Du: $rev = mail($to,$sbj,$msg); echo mail from my.edu result is $rev; ? -- Since the result of the mail() returned is 1, the message should have been delivered fine. but I did not get anything. Where can I look for more Negative! $rev will simply let

Re: [PHP] mail

2004-06-15 Thread Chris W
[EMAIL PROTECTED] wrote: have you debugged your php code to confirm that a recipient is really getting put on the message? e.g., print out the to: line, or better yet, hard-code a recipient in the code. based on what you find, you'll have a better sense as to whether the issue is on the mta

RE: [PHP] mail() problem

2004-06-02 Thread Larry Brown
Sounds like a problem for the maintainers of the spam blocking software? You can't correct the problem with the headers if you don't know what the spam software is objecting to. It may be objecting to the fact that the source is 127.0.0.1? -Original Message- From: Rick [mailto:[EMAIL

[PHP] Re: php mail() scaleability

2004-04-25 Thread Manuel Lemos
Hello, On 04/25/2004 04:18 PM, Josh Klobe wrote: Using mail($to, $subject, $content, $headers) takes way too long when attempting to mail to 30k people. This seems to be a result of a socket being opened for each send. Is there a better way to approach this situation via php? Under Unix/Linux,

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

2004-04-25 Thread Travis Low
Manuel Lemos wrote: Hello, On 04/25/2004 04:18 PM, Josh Klobe wrote: Using mail($to, $subject, $content, $headers) takes way too long when attempting to mail to 30k people. This seems to be a result of a socket being opened for each send. Is there a better way to approach this situation via

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

2004-04-25 Thread Manuel Lemos
Hello, On 04/25/2004 05:43 PM, Travis Low wrote: Using mail($to, $subject, $content, $headers) takes way too long when attempting to mail to 30k people. This seems to be a result of a socket being opened for each send. Is there a better way to approach this situation via php? Under

RE: [PHP] Re: php mail() scaleability

2004-04-25 Thread Jason Sheets
To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: php mail() scaleability Manuel Lemos wrote: Hello, On 04/25/2004 04:18 PM, Josh Klobe wrote: Using mail($to, $subject, $content, $headers) takes way too long when attempting to mail to 30k people. This seems to be a result of a socket being opened

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

2004-04-25 Thread Manuel Lemos
Hello, On 04/25/2004 06:03 PM, Jason Sheets wrote: Take a look at the Mail Queue class from PEAR, it enables you to put mail in the Queue instead of real time delivery. http://pear.php.net/packages.php?catpid=14catname=Mail This is a bit of an overkill as it attempts to provide an inefficient

Re: [PHP] Mail header problem

2004-04-06 Thread Curt Zirzow
* Thus wrote Daryl Meese ([EMAIL PROTECTED]): Hello all, When I use the PHP mail function to send emails, with a header of From:[EMAIL PROTECTED]; bounced and otherwise undeliverable messages come back to the user www, not the user I indicated the mail was from. Is this a PHP or MTA issue?

Re: [PHP] Mail sending from nobody to nobody...

2004-04-05 Thread hitek
Details? How are you calling the mail function? At 11:59 PM 4/4/2004, Jonathan Villa wrote: For some reason mail is being sent from nobody to nobody every time. I have tried hardcoding the sendmail path, which is the default anyway, and it still doesn't work? Has anyone encountered this before?

Re: [PHP] Mail sending from nobody to nobody...

2004-04-05 Thread Jonathan Villa
$from = From: .$email.\n; $from .= Reply-to: .$email.\n; $message = The following person has been added to the Mailing List.\n\n; $message .= $name. (.$email.) from .$city. has been added to the mailing list.; if(mail([EMAIL PROTECTED],Added To Mailing List,stripslashes($message),$from) == false)

Re: [PHP] Mail sending from nobody to nobody...

2004-04-05 Thread hitek
Try getting rid of the stripslashes, or if you need to remove them, add an additional \n to the message after the strip slashes, like so: if(mail([EMAIL PROTECTED],Added To Mailing List,stripslashes($message).\n,$from) == false) die('failed'); Also, see

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