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

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 http://www.php.net/manual/en/func

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($messag

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

2004-04-02 Thread Aidan Lister
It's quite easy to remove access to the mail function, simply put mail in your php.ini under disable_functions "Hernan Marino" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] sorry. lazy me. there is auto_prepend_file in php.ini I'll see if it works. Thanks! On Fri, 2 Apr 2004 03:51

Re: [PHP] mail() question

2004-04-01 Thread Hernan Marino
sorry. lazy me. there is auto_prepend_file in php.ini I'll see if it works. Thanks! On Fri, 2 Apr 2004 03:51:18 -0300, Hernan Marino wrote: Thanks for your answer. Don't you know if there is a way to redefine the mail() function in the php.ini file without touching the source code. Something like

Re: [PHP] mail() question

2004-04-01 Thread Hernan Marino
Thanks for your answer. Don't you know if there is a way to redefine the mail() function in the php.ini file without touching the source code. Something like prepending a file for every script parsed in the server and redefine there several functions or something like that. Thanks! On Fri,

Re: [PHP] mail() to own domain not working

2004-03-18 Thread Gerard L Petersen
gets routed to the correct host according to the mx records on the DNS :) - Original Message - From: "Raditha Dissanayake" <[EMAIL PROTECTED]> To: "Gerard L Petersen" <[EMAIL PROTECTED]> Cc: "Php-General" <[EMAIL PROTECTED]> Sent: Wednesday

RE: [PHP] mail() to own domain not working

2004-03-17 Thread Jason Merrique
server specified by your domain's MX. Cheers, Jason -Original Message- From: Gerard L Petersen [mailto:[EMAIL PROTECTED] Sent: 17 March 2004 16:07 To: Jason Merrique Subject: Re: [PHP] mail() to own domain not working No thats a different server. - Original Message - From: &

Re: [PHP] mail() to own domain not working

2004-03-17 Thread Raditha Dissanayake
Gerard L Petersen wrote: Hi all Im having a problem with sending mails using the mail function to my own domain. Mails to any other domain works perfectly. Also our mail server sitting on a different machine. Any ideas how to fix this? If you are getting any php related error messages please p

Re: [PHP] mail() to own domain not working

2004-03-17 Thread Tristan . Pretty
t;Gerard L Petersen" <[EMAIL PROTECTED]>, "Php-General" <[EMAIL PROTECTED]> Subject Re: [PHP] mail() to own domain not working Well, they replied: Do you mean the email is not working at the moment or you\'re asking for the solution we did last time? We modified

Re: [PHP] mail() to own domain not working

2004-03-17 Thread Tristan . Pretty
ROTECTED]> cc "Php-General" <[EMAIL PROTECTED]> Subject Re: [PHP] mail() to own domain not working Ooo, I had this recently when we moved to beamhost.co.uk I'll mail them and ask them what they did to fix it... I'll be back... "Gerard L Petersen&quo

Re: [PHP] mail() to own domain not working

2004-03-17 Thread Tristan . Pretty
Ooo, I had this recently when we moved to beamhost.co.uk I'll mail them and ask them what they did to fix it... I'll be back... "Gerard L Petersen" <[EMAIL PROTECTED]> 17/03/2004 14:59 To "Php-General" <[EMAIL PROTECTED]> cc Subject [PHP] mail() to own domain not working Hi all Im h

RE: [PHP] Mail

2004-03-14 Thread Will
Thank you very much!!! That was it ~WILL~ -Original Message- From: Jason Davidson [mailto:[EMAIL PROTECTED] Sent: Sunday, March 14, 2004 2:40 PM To: Will Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Mail Check the manual to be sure, but it appears that you have the arguments for the

Re: [PHP] Mail

2004-03-14 Thread Jason Davidson
Check the manual to be sure, but it appears that you have the arguments for the mail function in the wrong order . mail(to, subject, msg, headers) ... i beleive is the correct order. Jason "Will" <[EMAIL PROTECTED]> wrote: > > Hello All, > I am having a problem with sending a reply from a form.

Re: [PHP] mail() and passwords

2004-03-09 Thread tom meinlschmidt
I mean the only way is to use existing classes for sending emails via smtp socket or to write your own one. tom On Tue, 9 Mar 2004 03:37:33 -0500 "Will" <[EMAIL PROTECTED]> wrote: > How do I modify the following to except a password for the SMTP server? > > [mail function] > SMTP = localho

Re: [PHP] Mail Headers

2004-03-08 Thread "Miguel J. Jiménez"
You can view the source from an email message with Outlook or Thunderbird, and it will show headers and all that stuff... --- Miguel J. Jiménez ISOTROL, S.A. (Área de Internet) Avda. Innovación nº1, 3ª - 41020 Sevilla (ESPAÑA) [EMAIL PROTECTED] TLFNO. 955036800 ext. 111 -- PHP General Mailing List

Re: [PHP] Mail fifth parameter

2004-03-07 Thread Raditha Dissanayake
Hi, I am no expert on sendmail configuration but my little knowledge tells me sendmail shouldn't change any headers that are passed to it if it is configured properly. joel boonstra wrote: On Sun, Mar 07, 2004 at 09:51:28AM +0600, Raditha Dissanayake wrote: It's an often overlooked fact that

Re: [PHP] Mail fifth parameter

2004-03-06 Thread joel boonstra
On Sun, Mar 07, 2004 at 09:51:28AM +0600, Raditha Dissanayake wrote: > It's an often overlooked fact that you can pass additional headers in > the fourth parameter. I do belive you should use \n and not \r\n > then your code will look like > > mail("[EMAIL PROTECTED]", "object", $message, >

Re: [PHP] Mail fifth parameter

2004-03-06 Thread Jason Davidson
\r\n is good :) J Raditha Dissanayake <[EMAIL PROTECTED]> wrote: > > It's an often overlooked fact that you can pass additional headers in > the fourth parameter. I do belive you should use \n and not \r\n > then your code will look like > > mail("[EMAIL PROTECTED]", "object", $message, >

Re: [PHP] Mail fifth parameter

2004-03-06 Thread Raditha Dissanayake
It's an often overlooked fact that you can pass additional headers in the fourth parameter. I do belive you should use \n and not \r\n then your code will look like mail("[EMAIL PROTECTED]", "object", $message, "From: [EMAIL PROTECTED] ". "Reply-To:[EMAIL PROTECTED]". "Ret

Re: [PHP] Mail fifth parameter

2004-03-06 Thread Marek Kilimajer
Enrico Comini wrote: I have to send a email to a server where is very important the "Return-Path" to match the identity. If I use mail("[EMAIL PROTECTED]", "object", $message,"From: [EMAIL PROTECTED]". "Reply-To:[EMAIL PROTECTED]" ."Return-Path: [EMAIL PROTECTED]); I see in the received message th

Re: [PHP] Mail fifth parameter

2004-03-06 Thread Jason Davidson
check your logs sendmail mangles the headers, in particular return-path.. this is a horrible thing, i had a hell of a time with almost the same problem.. investigate sendmail. Jason "Enrico Comini" <[EMAIL PROTECTED]> wrote: > > > > I have to send a email to a server where is very import

RE: [PHP] Mail class to send several e-mails within one smtp connection

2004-02-29 Thread Axiom
> -Original Message- > From: Juergen Mueller pro.vider.de GmbH [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 29, 2004 12:02 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Mail class to send several e-mails within one smtp > connection > > Hello, > > does anybody know a simply mailing

Re: [PHP] mail()

2004-02-16 Thread Chris Hayes
At 12:26 16-2-04, you wrote: Hi, I have a problem with mail() function. I'm using PHP with Windows 2000 Professional and Internet Information Server 5.0. My php code is: mail("[EMAIL PROTECTED]", "Prueba Envio Email PHP", "Linea 1\nLinea 2\nLinea 3"); And my browser shows: Warning: mail(): SMTP se

Re: [PHP] Mail Transaction Failed

2004-01-26 Thread Tom Rogers
Hi, Tuesday, January 27, 2004, 4:32:46 PM, you wrote: cho> The message contains Unicode characters and has been sent as a binary attachment. Be careful this crap is a virus -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MAIL doesn't work anymore

2004-01-05 Thread Rolf Brusletto
Monty wrote: Shouldn't this work in PHP 4.3.2? ... mail('[EMAIL PROTECTED]', 'Subject', 'Body of email'); This very simple use of the mail command produces an error by Sendmail: "dsn=5.6.0, stat=Data format error," which must mean there is a bug in this function. Does anyone know why this won

RE: [PHP] mail question (mime)

2003-12-17 Thread Bill Green
Thanks for your replies. Figured it out, just blind. The $headers were written correctly (except for \r\n at end of lines though \n seems to work in this case). The problem was in the call to the boundary, the boundary has to start with -- outside the quoted string definition of the boundary, and e

RE: [PHP] mail question (mime)

2003-12-16 Thread Chris
I see 3 problems with your final output (though there still could be more) 1) Each header has to end in \r\n, \n usually works but it's supposed to be \r\n 2) This: $headers .="Content-Type: multipart/alternative; boundary=\"--i0o9u8h7g65v\""; should be this: $headers .="Content-Type: multipart/

Re: [PHP] mail -f option for removing nobody@localhost Return-Path

2003-11-19 Thread Curt Zirzow
* Thus wrote Glenn Gasner ([EMAIL PROTECTED]): > Here is the code I'm using trying to replace [EMAIL PROTECTED] with my email > address when I use the PHP mail() function to send a message: > > $headers="From: Glenn Gasner <[EMAIL PROTECTED]>\r\n" > ."Reply-To: Glenn Gasner <[EMAIL PROTECTED]>\r\n

[PHP] Re: PHP Mail handler?

2003-11-19 Thread Manuel Lemos
Hello, On 11/19/2003 11:55 AM, Jacques Roux wrote: Is there a mail function or object that I can use on my PHP sites that does the same as the CDONTS object in ASP? Where can I find some tutorials on this subject? You may want to try this class to do what CDONTS does and more: http://www.phpclas

Re: [PHP] mail() in windows (again!)

2003-11-13 Thread Raditha Dissanayake
that the mail() functions uses the sendmail aplication. I've also heard this 'sendmail' won't work with windows (Windows rulez!(just to piss those linux guys off!)). If you were on linux you wouldn't have to send this mail. What you can do is to use your ISP's mail server. (which is most probab

Re: [PHP] Mail Delivery Acknowledgement

2003-11-04 Thread John Nichel
[EMAIL PROTECTED] wrote: Thank you for contacting me Your e-mail has been forwarded to the appropriate person Mr. Imran Asghar. We welcome all comments and suggestions. Due to the high volume of e-mails received, not all e-mails are responded to directly. All e-mails that are respon

Re: [PHP] mail() another example - error

2003-11-02 Thread Boyan Nedkov
This time your script is ok, the connection to the SMTP server is established, but because the host name of the machine that executes your php script is not a valid host name in the SMTP server's local network, the server refuses to accept your request for security reasons (smtp relaying blocke

RE: [PHP] mail function error - win32

2003-11-01 Thread Julien Wadin
When you use the mail function, you must give the first argument. The 'to' is not in the headers Try this, it should work -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : samedi 1 novembre 2003 22:11 À : [EMAIL PROTECTED] Objet : [PHP] mail function error - win3

Re: [PHP] Mail() Function on Cobalt Raq 4

2003-10-22 Thread Mike Morton
Have you checked the mail logs (should be /var/log/mail.log or something similar) you could be getting errors from the mail server rather than the php side. I have had it where I thought that it was php but it turned out be a local relaying error )On 10/22/03 10:16 AM, "Peter Graber" <[EMAIL

Re: [PHP] mail() php in message

2003-10-13 Thread Manuel Lemos
Hello, On 10/13/2003 06:13 AM, Onno Kuipers wrote: My server runs PHP and Mysql. Normaly I can put some php in my .php-files wich will create a html file for the clients. (you all know this of course). My question now is: How can I put that html (created with PHP) in the message off the mail.

Re: [PHP] mail() php in message

2003-10-13 Thread Marek Kilimajer
Onno Kuipers wrote: thanx a lot! I think this will help. . oops works only with PHP 4... and I ... euh PHP3.. Is there another method to do this before I even think of upgrading? You can write your own. But I would upgrade. -- PHP General Mailing List (http://www.php.n

Re: [PHP] mail() php in message

2003-10-13 Thread Onno Kuipers
Manuel Lemos wrote: Hello, On 10/13/2003 05:02 AM, Onno Kuipers wrote: My server runs PHP and Mysql. Normaly I can put some php in my .php-files wich will create a html file for the clients. (you all know this of course). My question now is: How can I put that html (created with PHP) in the m

Re: [PHP] mail() php in message

2003-10-13 Thread Onno Kuipers
Manuel Lemos wrote: Hello, On 10/13/2003 05:02 AM, Onno Kuipers wrote: My server runs PHP and Mysql. Normaly I can put some php in my .php-files wich will create a html file for the clients. (you all know this of course). My question now is: How can I put that html (created with PHP) in the m

Re: [PHP] mail() php in message

2003-10-13 Thread Manuel Lemos
Hello, On 10/13/2003 05:02 AM, Onno Kuipers wrote: My server runs PHP and Mysql. Normaly I can put some php in my .php-files wich will create a html file for the clients. (you all know this of course). My question now is: How can I put that html (created with PHP) in the message off the mail.

Re: [PHP] mail() php in message

2003-10-13 Thread Onno Kuipers
Chris Hayes wrote: message of the mail. I know how the to put html in the message: $message = ' in stead of print " $gebruikerbooks "; do $message .= " $gebruikerbooks "; A little clarification: * Just instead of echoing it directly to the browser, add it to your variable $message. * "$

Re: [PHP] mail() php in message

2003-10-12 Thread Chris Hayes
message of the mail. I know how the to put html in the message: $message = ' in stead of print " $gebruikerbooks "; do $message .= " $gebruikerbooks "; A little clarification: * Just instead of echoing it directly to the browser, add it to your variable $message. * "$message.='bla';" is a sh

Re: [PHP] mail() php in message

2003-10-12 Thread Onno Kuipers
Matthias Wulkow wrote: Hallo Onno, am Sonntag, 12. Oktober 2003 um 20:07 hast Du Folgendes gekritzelt: OK> Hi, OK> is there a way to create a mail (with the mail() function) that contains OK> php in the message. OK> Like: OK> $to = "[EMAIL PROTECTED]"; OK> $subject = "a subject"; OK> $mes

Re: [PHP] mail() php in message

2003-10-12 Thread Matthias Wulkow
Hallo Onno, am Sonntag, 12. Oktober 2003 um 20:07 hast Du Folgendes gekritzelt: OK> Hi, OK> is there a way to create a mail (with the mail() function) that contains OK> php in the message. OK> Like: OK> $to = "[EMAIL PROTECTED]"; OK> $subject = "a subject"; OK> $message = OK> I WANT

Re: [PHP] mail() and Sender: field

2003-09-28 Thread Marek Kilimajer
Use a class that sends mail by conecting directly to smtp server. For example smtp_message.php in www.phpclasses.org/mimemessage Adam Whitehead wrote: Hi All I'm having a problem using the mail() function of PHP. It seems to vary between platforms (ie. this problem doesn't not occur on my Win32

Re: [PHP] mail() and Sender: field

2003-09-27 Thread Jason Wong
On Sunday 28 September 2003 14:26, Adam Whitehead wrote: > I'm having a problem using the mail() function of PHP. It seems to vary > between platforms (ie. this problem doesn't not occur on my Win32 > development platform, but does on my Linux production server). > > I'm sending mail using the ma

RE: [PHP] mail(); and embedding pictures

2003-09-26 Thread Jay Blanchard
[snip] No, but it wouldn't do me any good anyway. I am not trying to link to a picture residing somewhere else. I am trying to EMBED it. [/snip] And snip your replies! Found in a google search...go figure Probably the easiest way to do this is to use a mail class PHPMailer http://phpmailer.s

RE: [PHP] mail(); and embedding pictures

2003-09-26 Thread Jay Blanchard
[snip] OK, apparently you are not reading my emails. I said I already did that but that it didn't work. Putting the file name in the IMG SRC tag simply doesn't work. At least not in that format. > By putting an img tag in the HTML I am not that dumb. I realize that people send HTML message eve

RE: [PHP] mail(); and embedding pictures

2003-09-26 Thread Jay Blanchard
Subject: RE: [PHP] mail(); and embedding pictures I tried that but it doesn't work. You can see why if you use outlook and embed a picture. Send it to yourself and then view the source code of the email. > -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] >

RE: [PHP] mail(); and embedding pictures

2003-09-26 Thread Jay Blanchard
[snip] I am wondering if it is possible to embed pictures into email messages using this function. [/snip] I'm wondering if anyone ever tests this stuff. ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail problem

2003-09-23 Thread Trevor Dowling
Fixed! Thanks Trevor "Trevor Dowling" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > All, > > Many thanks for you thoughts, I will take a look at your suggestions, I hope > they fix the issue, others suggested the same things so I think we can > assume your all correct, (I hope s

Re: [PHP] Mail problem

2003-09-23 Thread Trevor Dowling
All, Many thanks for you thoughts, I will take a look at your suggestions, I hope they fix the issue, others suggested the same things so I think we can assume your all correct, (I hope so!) Once again, thanks Trevor "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > *

Re: [PHP] Mail problem

2003-09-22 Thread Curt Zirzow
* Thus wrote Trevor Dowling ([EMAIL PROTECTED]): > PHP Version 4.3.2 > I am having problems sending a large number of emails from a mail list held > in a database. I don't belive that the database has anything to do with the > problem. > > I have about 9000 addresses and can only successfully send

Re: [PHP] Mail problem

2003-09-22 Thread Rob Adams
[snip] I have about 9000 addresses and can only successfully send about 2000 mails before the page say complete/done. [/snip] Depending on your error reporting level, instead of ending normally you should get a script timed out message. If you're not getting that message, it may be that your scri

RE: [PHP] Mail problem

2003-09-22 Thread chris . neale
Have you timed it? You might want to check it doesn't take longer than the max_execution_time directive in php.ini allows (you'll have to check if that's the correct name for it). I've also used set_time_limit(0) at the top of my scripts when I know it's going to take a while... Regards Chris -

RE: [PHP] Mail problem

2003-09-22 Thread Jay Blanchard
[snip] I have about 9000 addresses and can only successfully send about 2000 mails before the page say complete/done. [/snip] What is your PHP script execution time set to in the php.ini? Are you running this from the browser? If so you will also need to modify your browser timeout? Place this se

Re: [PHP] Mail() question

2003-09-09 Thread Chris Hayes
At 09:40 9-9-03, you wrote: On Tuesday 09 September 2003 08:12, Ryan A wrote: > I am trying to create a new newsletter software as the ones i found on > hotscripts were just not good enough or mucho $$ which i dont have :-( > Please note that i I intend to add a kind of word merge functionality la

Re: [PHP] Mail() question

2003-09-09 Thread Jason Wong
On Tuesday 09 September 2003 17:02, Ryan A wrote: > I did search the archive for "newsletter", "newsletter software" and > variations but didnt come up with much. I got a lot of german and other > results too from php general,debian etc > > Will do another search on "mail" now. mass mailing, bulk

Re: [PHP] Mail() question

2003-09-09 Thread Ryan A
Hey Jason, Thanks for replying. I did search the archive for "newsletter", "newsletter software" and variations but didnt come up with much. I got a lot of german and other results too from php general,debian etc Will do another search on "mail" now. > > Please note that i I intend to add a kin

Re: [PHP] Mail() question

2003-09-09 Thread Ryan A
Hey, Thanks for replying. I had a look at quick ezmlm but it seems to be more of a mailing list software than a newsletter one, and since its not in php i cant really dig in and shape it to my needs...:-( Thanks anyway, Cheers, -Ryan > Hi, > Why don't you take a look at ezmlm instead. This is open

Re: [PHP] Mail() question

2003-09-09 Thread Jason Wong
On Tuesday 09 September 2003 08:12, Ryan A wrote: > I am trying to create a new newsletter software as the ones i found on > hotscripts were just not good enough or mucho $$ which i dont have :-( [snip] All your questions have been covered before and the answers are in the archives. > Please n

Re: [PHP] Mail() error in logs

2003-08-31 Thread Curt Zirzow
* Thus wrote Mike Morton ([EMAIL PROTECTED]): > Hey there - quick question - until a week ago, the mail() function I am > using to email confirmations was working fine, now the following error is > showing up in the logs: > > Aug 31 11:50:26 www2 sendmail[29579]: h7VFoQc7029579: localhost [127.0.0

[PHP] RE:[PHP] mail mime attachment

2003-08-27 Thread Steven Murphy
I've been working on a simple mail attachment script, that is now working. Its pretty well documented in the code. You can download it at www.pfohlsolutions.com/projects/mailer/mailer.zip. It verifies fields and hides the to email address from spiders. Email me if you have any questions or suggesti

Re: [PHP] mail() question

2003-08-25 Thread Alister
On Mon, 25 Aug 2003 14:24:25 +0200 Matthias Wulkow <[EMAIL PROTECTED]> wrote: > A> Did you install postfix _after_ PHP? Did you have a sendmail > A> binary in place before you configured PHP? If it's not there are > A> configure time, it won't even compile the 'mail' function. > Yes and there wa

Re: [PHP] mail() question

2003-08-25 Thread Matthias Wulkow
Hallo Alister, am Montag, 25. August 2003 um 03:27 hast Du Folgendes gekritzelt: A> Did you install postfix _after_ PHP? Did you have a sendmail binary in A> place before you configured PHP? If it's not there are configure time, A> it won't even compile the 'mail' function. Yes and there was

Re: [PHP] mail() question

2003-08-25 Thread Curt Zirzow
* Thus wrote Matthias Wulkow ([EMAIL PROTECTED]): > Hallo Curt, > > am Montag, 25. August 2003 um 01:35 hast Du Folgendes gekritzelt: > > >> I have followig error reported: > >> > >> Fatal error: Call to undefined function: mail() in /usr/local/www/login.php on > >> line 235 > >> > >> What is

Re: [PHP] mail() question

2003-08-25 Thread Alister
> On Mon, 25 Aug 2003 01:09:29 +0200 Matthias Wulkow <[EMAIL PROTECTED]> > writes: > > > > Hi php-general, > > I have followig error reported: > > > > Fatal error: Call to undefined function: mail() in > > /usr/local/www/login.php on line 235 > > What is the trouble here? If I would have troubl

Re: [PHP] mail() question

2003-08-25 Thread Stevie D Peele
What is on line 235?? That would help us - SDP On Mon, 25 Aug 2003 01:09:29 +0200 Matthias Wulkow <[EMAIL PROTECTED]> writes: > > Hi php-general, > > I have followig error reported: > > Fatal error: Call to undefined function: mail() in > /usr/local/www/login.php on line 235 > > What is th

Re: [PHP] mail() question

2003-08-25 Thread Matthias Wulkow
Hallo Curt, am Montag, 25. August 2003 um 01:35 hast Du Folgendes gekritzelt: >> I have followig error reported: >> >> Fatal error: Call to undefined function: mail() in /usr/local/www/login.php on line >> 235 >> >> What is the trouble here? If I would have trouble because of >> delivery, nor

Re: [PHP] mail() question

2003-08-24 Thread Curt Zirzow
* Thus wrote Matthias Wulkow ([EMAIL PROTECTED]): > > Hi php-general, > > I have followig error reported: > > Fatal error: Call to undefined function: mail() in /usr/local/www/login.php on line > 235 > > What is the trouble here? If I would have trouble because of > delivery, normally mail wo

Re: [PHP] Mail() Problem Sending

2003-08-19 Thread Ivo Fokkema
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Ivo Fokkema ([EMAIL PROTECTED]): > > True! But actually, I' ve seen people using only the 'From:' header to send > > mail. Emails can then be dropped easily by servers thinking it is spam. > No email server sho

Re: [PHP] Mail() Problem Sending

2003-08-19 Thread Curt Zirzow
* Thus wrote Ivo Fokkema ([EMAIL PROTECTED]): > "Cesar Aracena" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > [snip] > > For some e-mail servers, you have to write lots of "extra headers" in > > the e-mails in order to pass their guard. > [/snip] > > True! But actually, I' ve see

Re: [PHP] Mail() Problem Sending

2003-08-19 Thread Ivo Fokkema
"Cesar Aracena" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] > For some e-mail servers, you have to write lots of "extra headers" in > the e-mails in order to pass their guard. [/snip] True! But actually, I' ve seen people using only the 'From:' header to send mail. Emails ca

Re: [PHP] Mail() Problem Sending

2003-08-18 Thread raditha dissanayake
/var/log/maillog file shold have some clues. Cesar Aracena wrote: Before trying to guess what Saddam can and can't do with computers, try sending e-mails to different addresses (different domains... NOT just different usernames). Sometimes, the e-mail server you use is NOT configured properly, so

RE: [PHP] Mail() Problem Sending

2003-08-18 Thread Cesar Aracena
Before trying to guess what Saddam can and can't do with computers, try sending e-mails to different addresses (different domains... NOT just different usernames). Sometimes, the e-mail server you use is NOT configured properly, so every e-mail does not gets to you. It happened to me too when test

Re: [PHP] Mail() Problem Sending

2003-08-18 Thread Michael A Smith
My ideas: (in order of likelihood) Idea #1: Your computer hates you. Idea #2: Sendmail isn't running. Idea #3: Sendmail isn't setup correctly. Idea #4: You have been hacked by Saddam. -Michael :-) Ben C. wrote: I have recently had php installed on my server with sendmail. The server is behind a

Re: [PHP] mail error

2003-08-14 Thread Jackson Miller
The from header has to be something like: $mailheaders = "From: My Web Site <[EMAIL PROTECTED]>\n"; There has to be an email address in the from header. It will show up like you want in your mail client. -Jackson On Thursday 14 August 2003 10:50, merryE wrote: > I am using php 4 with apache in

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Dasmeet
Hi! Mohanaraj, If you have still not decided about what you are going to use, you can check the several mailing list managers at http://www.hotscripts.com/PHP/Scripts_and_Programs/Mailing_List_Managers/index.html (this will help you get more confused ;) ). Also there seems to be a good script.. M

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Michael Geier
1. many providers will not accept email messages with horrendous amounts of BCC: entries (very spam indicative) 2. do not use mail() to do this 3. there are many excellent PHP mail classes (PHPClasses has a few and PHPMailer is an excellent alternative as well) 4. IM(H)O, if you are going to

Re: [PHP] mail with no sendmail on linux

2003-08-14 Thread daniel
i have a class that can sewnd through smtp , but i think there i a package setup in php classes there is also a pear class to do this > Is there a workaround for not having sendmail installed on my linux > machine and using instead my isp's mail server. I am practically behind > 2 firewalls so I d

Re: [PHP] Mail

2003-08-14 Thread Sean
I have searched various other places for an answer but have found none. I imagine that the problem is caused by something simple that I am doing wrong but if not this will be going on a Linux server when it works is there another commonly used way of sending mail that the web hosting service will n

Re: [PHP] Mail

2003-08-14 Thread Curt Zirzow
* Thus wrote Sean ([EMAIL PROTECTED]): > Got it if anyone else has trouble. > In the IIS SMTP properties go to the Access Tab. > Click the Relay button at the bottom and change the selection from "Only the > list below" to "All except the list below" I have no idea if this is a > security risk it w

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Curt Zirzow
* Thus wrote Mohanaraj ([EMAIL PROTECTED]): > Dear all, > > I have read that using mail() in a for loop to send a lot of emails ( > around 1k-10k ) emails is not advised due to the fact that it can be > resource intensive hence or the script might take so much time that it > ti,es out. However wha

Re: [PHP] Mail

2003-08-14 Thread John W. Holmes
Sean wrote: I cannot get mail() to work any idea's I get a server error. Windows 2000 the SMTP port is 25. No default values have being changed from the original PHP installation. In it's simplest form mail("[EMAIL PROTECTED]", "My Subject", "Test"); Gives the error as do more complicated scripts

Re: [PHP] mail

2003-08-14 Thread Curt Zirzow
* Thus wrote Jay Blanchard ([EMAIL PROTECTED]): > > GIS for "send attachments with PHP mail()" GIS? Google Search? Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail with no sendmail on linux

2003-08-14 Thread andu
On Fri, 8 Aug 2003 13:49:41 +1000 (EST) <[EMAIL PROTECTED]> wrote: > i have a class that can sewnd through smtp , but i think there i a > package setup in php classes there is also a pear class to do this The Pear class did it, thanks. > > > Is there a workaround for not having sendmail instal

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Mohanaraj
Michael Geier wrote: 1. many providers will not accept email messages with horrendous amounts of BCC: entries (very spam indicative) Say we limit the BCC list to a hundred email addresesses. And use cron jobs to send the emails out every hour -- would that be ok? What would you consider exces

RE: [PHP] Mail

2003-08-14 Thread Mike Brum
mpting to connect to your mail server are who they say they are. -Mike -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Sunday, August 10, 2003 11:50 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Mail * Thus wrote Sean ([EMAIL PROTECTED]): > Got it if anyone else ha

RE: [PHP] mail

2003-08-14 Thread Jay Blanchard
[snip] Hi! Kann anyone tell me how to send attachments with the mail function? [/snip] +2 this week and some wonder why we say RTFM, STFW, or STFA GIS for "send attachments with PHP mail()"

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Joel Rees
> When you say batches of 500 , would that mean you put pauses between > each batch ? Or do you prepare each email as a file and then send them > out in batches of 500? Whats the time space between each batch? Assuming > I was stuck with sendmail, what would you recommend ? Well, I don't know

Re: [PHP] mail() usage in for loops

2003-08-14 Thread John W. Holmes
Mohanaraj wrote: What would be the best way to handle this ? Go get a program that's made to send out emails like this. Odds are it'll be faster and less of a strain on your server. PHP is great, but there are other solutions out there. My $0.02, of course. :) -- ---John Holmes... Amazon Wishl

Re: [PHP] mail() function failure

2003-08-14 Thread Jason Wong
On Thursday 07 August 2003 23:19, Brad Esclavon wrote: > I have made a simple script to mail an email to a person on my domain. i > have tested the script with different values and i still cannot get the > email. when i execute the mail function, it returns true, so i know it gets > to the mail ser

Re: [PHP] Mail

2003-08-12 Thread Sean
e of making sure that those that > are attempting to connect to your mail server are who they say they are. > > -Mike > > -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Sunday, August 10, 2003 11:50 PM > To: [EMAIL PROTECTED] > Subject: Re: [

Re: [PHP] mail() usage in for loops

2003-08-11 Thread Mohanaraj
Michael Geier wrote: See answer above. With Qmail and homegrown software, I have several servers sending upwards of 13K emails per minute. All of these are HTML emails with: Custom headers, Custom unsubscribes. I create my email list and break it into files of 500, then loop through those fil

Re: [PHP] Mail

2003-08-10 Thread Sean
Got it if anyone else has trouble. In the IIS SMTP properties go to the Access Tab. Click the Relay button at the bottom and change the selection from "Only the list below" to "All except the list below" I have no idea if this is a security risk it works that's all I care about for now. Sean --

Re: [PHP] mail() usage in for loops

2003-08-10 Thread Curt Zirzow
* Thus wrote John W. Holmes ([EMAIL PROTECTED]): > Mohanaraj wrote: > > >What would be the best way to handle this ? > > Go get a program that's made to send out emails like this. Odds are > it'll be faster and less of a strain on your server. PHP is great, but > there are other solutions out t

RE: [PHP] Mail

2003-08-09 Thread Mike Brum
Do you have an SMTP server installed on your machine? If not, add one to IIS (probably the simplest way to do it in Win2k). -M -Original Message- From: Sean [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 11:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Mail I cannot get mail() to

Re: [PHP] Mail

2003-08-09 Thread Sean
Thanks for the quick response. 1 and 2 work 3 does not giving "unable to relay for" I had slight doubts about what to use for [EMAIL PROTECTED] I used my normal email address. 1.. Type helo me and press ENTER. The output resembles the following: 250 OK

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