Er yea - just call the mail() function at the appropriate time in your
script...
http://www.php.net/manual/en/function.mail.php
However IMO if you need to log this sort of information then using a
database is far more appropriate than sending emails - especially on a busy
site...
Rich
-Origi
At 11/22/2002 04:30 PM, Duncan Ellwood wrote:
Can I personalise this a bit to display the From: as the email address that
the user has supplied i.e $Email
You can specify the "FROM" field in the headers before you call the mail()
function.
It's all in the manual.
http://www.php.net/manual/
Why don't you send your mailing code so the rest of us can see it, help
you and maybe even learn something from you too...
Cesar L. Aracena
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(0299) 156-356688
Neuquén (8300) Capital
Argentina
-Mensaje original-
De: Duncan Ellwood [mailto:[EMAIL PROTECTE
Hi,
PHP has handling of MIME types and good support for handling any type of
file.
First off, check the syntax at
http://www.php.net/manual/en/function.mail.php
Then you need to set your mail_headers, and the MIME-version must come
before other MIME headers.
Hope this helps
- Original Mes
"April" <[EMAIL PROTECTED]> wrote:
> Your ''s in your strings are the problem. They need to be escaped, or
they
> will create a parse error.
Not true. They (quotes inside a string) only need to be escaped if they are
the same style as the quotes enclosing the string. And for those that don't
k
d'oh! I knew it was something simple.
Thanks
-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 10:42 AM
To: 'Angerer, Chad'; '[EMAIL PROTECTED]'
Subject: RE: [PHP] newbie mail() function
You're missing a
Your ''s in your strings are the problem. They need to be escaped, or they
will create a parse error.
Instead of
$msg = "Sender's Full Name:\t$user_name\n";
you should have
> $msg = "Sender\'s Full Name:\t$user_name\n";
- Original Message -
From: "Angerer, Chad" <[EMAIL PROTECTED]>
To:
You're missing a semicolon on line 8.
HTH
Jon
-Original Message-
From: Angerer, Chad [mailto:[EMAIL PROTECTED]]
Sent: 07 February 2001 16:37
To: [EMAIL PROTECTED]
Subject: [PHP] newbie mail() function
Hello!
I am very new to php programming. I have been experimenting around with
ph
"Angerer, Chad" <[EMAIL PROTECTED]> wrote:
> $mailheaders = "From: My Web Site\n"
> 9>$mailheaders .= "Reply-To: $email_address\n\n";
>
> mail("[EMAIL PROTECTED]", "Feedback Form", $msg, $mailheaders);
>
> echo ("Thank you $user_name\n");
> echo ("I appreciate your feedback\n\n");
>
> ?>
>
> for s
9 matches
Mail list logo