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

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

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

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:

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

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

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 mailing

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

Re: [PHP] mail() question

2003-08-26 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 no

Re: [PHP] mail() question

2003-08-26 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 was no

Re: [PHP] mail() question

2003-08-25 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 would

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, normally mail

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

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 trouble because of

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 the trouble here? If

Re: [PHP] mail question

2003-02-13 Thread Jason Wong
On Friday 14 February 2003 18:53, Jonas Geiregat wrote: is it possible to do something like mail([EMAIL PROTECTED],subject,hello if($a){ return andreas; }); or what would be the best solution for this ? Try it. I would prefer: if ($a) { $name = 'andreas'; } else { $name = ''; }

Re: [PHP] mail question

2003-02-13 Thread Leif K-Brooks
Try: mail('[EMAIL PROTECTED]','subject','hello '.($a ? 'andreas')); Jonas Geiregat wrote: is it possible to do something like mail([EMAIL PROTECTED],subject,hello if($a){ return andreas; }); or what would be the best solution for this ? -- The above message is encrypted with double rot13

Re: [PHP] Mail Question

2002-11-14 Thread R'twick Niceorgaw
put the following line in the .qmail file for that user |/path/to/your/script/yourscript.php HTH R'twick - Original Message - From: Mike D [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 13, 2002 3:12 PM Subject: [PHP] Mail Question Does anyone know of a way to

Re: [PHP] Mail Question

2002-11-13 Thread Jason Wong
On Thursday 14 November 2002 04:12, Mike D wrote: Does anyone know of a way to achieve the following on linux/apache/qmail/php server I want to have an email address that when people send a message to, a php script is triggered and the data of the email is extracted and inserted into a

Re: [PHP] Mail Question

2002-11-13 Thread Mike D
Yes we are using qmail. So all I have to do is create the .qmail-info file and have that point to a php script? - MD On Wednesday, November 13, 2002, at 12:35 PM, Jason Wong wrote: On Thursday 14 November 2002 04:12, Mike D wrote: Does anyone know of a way to achieve the following on

Re: [PHP] Mail Question

2002-11-13 Thread Jason Wong
On Thursday 14 November 2002 05:48, Mike D wrote: Yes we are using qmail. So all I have to do is create the .qmail-info file and have that point to a php script? Yes, man dot-qmail for the details. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators

Re: [PHP] mail() question

2002-09-17 Thread John Wards
Meltem What is you system set up? OS etc? Cheers John Wards SportNetwork.net - Original Message - From: Meltem Demirkus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 2:35 PM Subject: [PHP] mail() question Hi, I am trying to send an email by using the

Re: [PHP] mail() question

2002-09-17 Thread Meltem Demirkus
- From: John Wards [EMAIL PROTECTED] To: Meltem Demirkus [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 4:40 PM Subject: Re: [PHP] mail() question Meltem What is you system set up? OS etc? Cheers John Wards SportNetwork.net - Original Message - From

Re: [PHP] mail() question

2002-09-17 Thread John Wards
: Re: [PHP] mail() question windows 2000 by the way my whole code is this: ? $msg = Sender Name:\t$_POST[sender_name]\n; $msg .= Sender E-Mail:\t$_POST[sender_email]\n; $msg .= Message:\t$_POST[message]\n\n; $recipient = mailto:[EMAIL PROTECTED]; $subject = Web Site Feedback

Re: [PHP] mail() question

2002-09-17 Thread John Wards
PROTECTED] Sent: Tuesday, September 17, 2002 2:55 PM Subject: Re: [PHP] mail() question how can I do them?..I am sorry maybe I am asking silly questions .It is because I am new on php... thnaks .. meltem - Original Message - From: John Wards [EMAIL PROTECTED] To: Meltem Demirkus

Re: [PHP] mail() question

2002-09-17 Thread John Wards
this in your SMTP seting in php.ini. Also have you restarted apache(or what ever server u are using) since you changed the php.ini file - Original Message - From: Meltem Demirkus [EMAIL PROTECTED] To: John Wards [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 3:14 PM NCOMP Subject: Re: [PHP

[PHP] Re: PHP Mail() Question

2002-03-08 Thread LaserJetter
Its probably a problem with your mail server software not being able to send email out. I think you need t tell it to connect to another email server outside of your network Mindless Bot [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I hope maybe you

Re: [PHP] mail() question

2001-10-23 Thread David Robley
On Wed, 24 Oct 2001 07:03, [EMAIL PROTECTED] wrote: Hi all, I've got a question that I'm sure can be answered, but I'm a little stuck right now... I've set up yelvington's excellent annotate script, and it works beautifully. My next step was to try to add an auto email function to notify me

RE: [PHP] mail() question

2001-10-23 Thread Niklas Lampén
Well, not sure if this is a solution for you but I've done it with something like this: If ($Page == Form) { // Form itself with hidden field Page=Mailer } else if($Page == Mailer) { // Send the mail header(Location: youraddress?Page=Form); }; Hope this helps. Niklas

RE: [PHP] mail() question

2001-03-20 Thread Altunergil, Oktay
it's not /n .. it's \n -Original Message- From: Wade DeWerff [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 2:37 PM To: [EMAIL PROTECTED] Subject: [PHP] mail() question is there a way to do this in a mail() ? I need to add the $Phone and $Email variables too the $message, but

Re: [PHP] mail() question

2001-03-20 Thread Clayton Dukes
$message .= $Info; $message .="br"; $message .=$Phone; $message .="br"; $message .=$Email; This should append everything, but I could be wrong, I'm no Guru :-) Clayton Dukes - Download Free Essays, Term Papers and Cisco

Re: [PHP] mail() question

2001-03-20 Thread CC Zona
In article 00be01c0b175$1cee4080$[EMAIL PROTECTED], [EMAIL PROTECTED] ("Wade DeWerff") wrote: is there a way to do this in a mail() ? I need to add the $Phone and $Email variables too the $message, but I need to format it so that it is on a new line in the emailI tried using br and /n,

RE: [PHP] mail() question

2001-03-20 Thread Altunergil, Oktay
Dukes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 2:37 PM To: Wade DeWerff; [EMAIL PROTECTED] Subject: Re: [PHP] mail() question $message .= $Info; $message .="br"; $message .=$Phone; $message .="br"; $message .=$Email; This should append everything, but I could b

Re: [PHP] mail() question

2001-02-27 Thread W.D.
just the info in the .txt file did you want to actually send the .txt file or just the info in the .txt file?? -Original Message- From: W.D. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 10:19 AM To: [EMAIL PROTECTED] Subject: [PHP] mail() question I want to

RE: [PHP] mail() question

2001-02-27 Thread Peter Houchin
- From: W.D. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 10:34 AM To: Peter Houchin; [EMAIL PROTECTED] Subject: Re: [PHP] mail() question just the info in the .txt file did you want to actually send the .txt file or just the info in the .txt file?? -Original Message-

RE: [PHP] mail( ) question

2001-01-30 Thread Jon Haworth
If you've copied-and-pasted that script, you might want to correct this line: scrip language="JavaScrip" Both the words "script" and "Javascript" have a T on the end of them :-) On the other hand, why don't you just use PHP for the whole thing? Get the e-mail address from a form, make the

Re: [PHP] mail( ) question

2001-01-29 Thread Toby Butzon
This isn't going to work the way it's set up now. Javascript is processed by the visitor's browser, while PHP is processed by the server before the page is ever sent. So in essence, PHP doesn't care one bit what anything outside of the ?php ? tags does. Therefore, you're instructing PHP to do

Re: [PHP] mail() question

2001-01-15 Thread jeremy brand
Your Return-Path: header should have that email address. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com/ - - - - - - - - - - - - -

Re: [PHP] mail() question

2001-01-15 Thread jeremy brand
/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "body" -- Quoted from Yahoo! homepage, http://www.yahoo.com On Mon, 15 Jan 2001, Robert Hough wrote: Date: Mon, 15 Jan 2001 15:27:06 -0500 (EST) From: Robert Hough [EMAIL PROTECTED] To: jeremy brand [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] mail(

Re: [PHP] mail() question

2001-01-15 Thread Robert Hough
On Mon, 15 Jan 2001, jeremy brand wrote: So, does $sender_address have the email address that you want it returned to? You didn't specifically say this, that is why I asked. Sorry, yes it does. The message, if delivered properly, is fine. The receiver can hit "Reply" and that works as

Re: [PHP] mail() question

2001-01-15 Thread jeremy brand
ough wrote: Date: Mon, 15 Jan 2001 15:53:01 -0500 (EST) From: Robert Hough [EMAIL PROTECTED] To: jeremy brand [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] mail() question On Mon, 15 Jan 2001, jeremy brand wrote: So, does $sender_address have the email address that you want it

Re: [PHP] mail() question

2001-01-15 Thread mailing_list
I asked the same question some weeks ago! The problem is, my root installed the mail-function so that "nobody" is the owner of the send-process! I wanted the same thing as you want - At last I did a workaround (not bad for sending that small amount of mails I do): I configured .procmailrc, so

Re: [PHP] mail() question

2001-01-15 Thread Robert Hough
Quick update, for anyone interested... I managed to answer my own question, but I'd still like to thank everyone that replied, it did lead me to the right place. What I ended up doing was using sendmail with the -f option. This did require me to add a new trusted user to my sendmail.cf though.