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
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
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,
Hello.
My users can send email from their web pages using mail().
But the email is sent from [EMAIL PROTECTED], I dont want them to
attempt to send bulk, so I wonder if there is any way to identify the
system user sending the email. I use postfix, and I know that postfix
gets connected from user ap
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
OTECTED]
Sent: Tuesday, December 16, 2003 8:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] mail question (mime)
Greetings all. (hope this isn't a second post, first try seemed to fail)
In an effort to understand more about mime mail, I'm writing a
little function to send a multipart/alter
Greetings all. (hope this isn't a second post, first try seemed to fail)
In an effort to understand more about mime mail, I'm writing a
little function to send a multipart/alternative encoded mime mail from a
browser interface. I know you guys have answered these types of questions
many times, but
Greetings all.
In an effort to understand more about mime mail with php, I'm writing a
little function to send a multipart/alternative encoded mime mail from a
browser interface. I know you guys have answered these types of questions
many times, but I've googled and research til I'm blue. I'm stil
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
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
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
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
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
Hi everyone,
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 :-(
Have finished the basics but need some advise now.
I am using a mysql database instead of text files.
I have a table with the fields "name" an
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
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
* 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
> 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
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
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
* 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
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 return false. But here...
I have php4.3.1 running on linux. I just
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
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 = '';
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 ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a form where a user enters an email address. The contents of the form
are then sent to myself, which works fine. The problem is that the from
field says it is from nobody - how can I get it to say it is from the email
address the user inputted - or is this possible?
TIA
--
PHP Gene
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
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 Integrat
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
linux/
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 i
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 DB for use in a ticketing system.
I know how to do all
002 3:14 PM
> NCOMP>
> Subject: Re: [PHP] mail() question
> Date: Tue, 17 Sep 2002 17:15:15 +0300
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> X-Priority: 3
> X-MSMail-Priority: Normal
>
To: "John Wards" <[EMAIL 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
t: Tuesday, September 17, 2002 2:43 PM
Subject: 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:\
quot;Form Sent!";
echo "Thank You, $_POST[$sender_name]";
echo "Your feedback has been sent.";
echo "";
?>
- Original Message -
From: "John Wards" <[EMAIL PROTECTED]>
To: "Meltem Demirkus" <[EMAIL PROTECTED]>
Cc: <[
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 tryi
Hi,
I am trying to send an email by using the function mail().
Although I use in a form of mail($to, $subject, $message, $headers), it is
giving this error:
Failed to Connect
So I think I am missing something ...
Can anybody help me ?..
thanks alot
meltem demirkus
--
PHP General Mailing Lis
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
Hello,
I hope maybe you can help me with this problem... I've been working with
PHP/mySQL for about 6 months now, this is causing quite a headache!
When I try to send confirmation email (from a form the user fills out) - it
works fine when sending within the company network but fails when send
Ive tried Reading The Fine Manual on this, and cant find an easy
answer.
Heres the headers for a message from the script, and the error Im
getting on some mail it sends
Return-Path:
Received: (from wwwrun@localhost)
by arsenic.mth.com (8.11.6/8.11.3) id g0O4UCQ27546;
e=Form");
};
Hope this helps.
Niklas
-Original Message-
From: Jeff Kryvicky @ Collider [mailto:[EMAIL PROTECTED]]
Sent: 24. lokakuuta 2001 0:33
To: [EMAIL PROTECTED]
Subject: [PHP] mail() question
Hi all, I've got a question that I'm sure can be answered, but I'm a
l
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
> noti
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 when someone has posted a comment, and send me the ent
-
From: Clayton 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 .="";
$message .=$Phone;
$message .="";
$message .=$Email;
This should append every
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 and /
Papers and Cisco Training from http://www.gdd.net
- Original Message -
From: "Wade DeWerff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 20, 2001 2:36 PM
Subject: [PHP] mail() question
is there a way to do this in a mail() ? I need to add the $Pho
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 $me
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 and /n, but it formats as text not code function.
$message = $Info ."". $Phone ."". $Email;
al Message-
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??
&g
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]
> Subjec
I want to send a .txt file back to the sender when a form is filled out,
sort of like an autoresponder. I have one mail() to send info from form to
me, is the only way to send out a file back to the sender by using a second
mail()?
_
Do Y
e with
Javascript turned off.
Just a thought.
Cheers
Jon
-Original Message-
From: Fang Li [mailto:[EMAIL PROTECTED]]
Sent: 29 January 2001 17:30
To: [EMAIL PROTECTED]
Subject: [PHP] mail( ) question
Hi All:
Would anyone tell me how to correct the code in mail( ) function? Thanks a
lot.
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
tags does. Therefore, you're instructing PHP to do this:
ma
Hi All:
Would anyone tell me how to correct the code in mail( ) function? Thanks a
lot.
function askEmailAddress( ){
var inputedData = prompt("The email address you want send to:"," ");
if(confirm("The email address you want send to is" +
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.
O
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 t
On Mon, 15 Jan 2001 13:16:23 -0800 (PST), jeremy brand
<[EMAIL PROTECTED]> wrote:
>I think that you answered your own question. I know that PHP sends
>Return-Path: headers, I do it all the time.
Then stop it! :-)
See the sendmail bat book, even if using qmail:
>>> There must be only one Retu
On Mon, 15 Jan 2001 16:08:18 -0500 (EST), Robert Hough
<[EMAIL PROTECTED]> wrote:
>Well, after checking the headers myself, it doesn't look like sendmail is
>accepting my return-path, or php isn't sending it. Headers below:
>
>Received: (from nobody@localhost)
>by trinity.solveinteractive
On Mon, 15 Jan 2001, Robert Hough wrote:
> Date: Mon, 15 Jan 2001 16:08:18 -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
On Mon, 15 Jan 2001 16:05:22 -0500, Egan <[EMAIL PROTECTED]> wrote:
>
>>> Thanks, but as stated in my post, all of my headers
>>> Return-Path included, are coming through correctly.
>
>
>>From the sendmail bat book:
>
>
>> The Return-Path: header is intended to show the envelope address of
>> the
On Mon, 15 Jan 2001, jeremy brand wrote:
> Why don't you forward the actuall email headers to the list and I can
> look at them.
Well, after checking the headers myself, it doesn't look like sendmail is
accepting my return-path, or php isn't sending it. Headers below:
Received: (from nobody@loc
>> Thanks, but as stated in my post, all of my headers
>> Return-Path included, are coming through correctly.
>From the sendmail bat book:
> The Return-Path: header is intended to show the envelope address of
> the real sender ... it is intended to be used solely for notification
> of deliver
, Robert Hough 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, d
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 intend
n.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"" -- 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: [EMA
On Mon, 15 Jan 2001, jeremy brand wrote:
> Your Return-Path: header should have that email address.
Thanks, but as stated in my post, all of my headers
Return-Path included, are coming through correctly. Here is what I am
using for my headers, is there something missing here?
$headers .= "From
/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"" -- Quoted from Yahoo! homepage, http://www.yahoo.com
On Mon, 15 Jan 2001, Robert Hough wrote:
> Date: Mon, 15 Jan 2001 15:13:42 -0500 (EST)
> From: Robert Hough <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [PHP
Sorry in advance for being redundant. I was unable to find the answer I
needed, on the php.net site.
We have a mailto form, which uses the mail() funciton. For the most part,
it works as intended. All of my headers seem to be coming through intact
(To, From, Reply-To, Return-Path, Error-To, etc).
68 matches
Mail list logo