RE: [PHP] Newbie Mail() Question...

2002-11-27 Thread Rich Gray
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

Re: [PHP] Newbie mail () question

2002-11-22 Thread Steve Keller
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/

RE: [PHP] Newbie mail () question

2002-11-22 Thread Cesar Aracena
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

Re: [PHP] NEWBIE Mail()

2001-04-26 Thread Kevin A Williams
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

Re: [PHP] newbie mail() function

2001-02-07 Thread Steve Werby
"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

RE: [PHP] newbie mail() function

2001-02-07 Thread Angerer, Chad
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

Re: [PHP] newbie mail() function

2001-02-07 Thread April
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:

RE: [PHP] newbie mail() function

2001-02-07 Thread Jon Haworth
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

Re: [PHP] newbie mail() function

2001-02-07 Thread Steve Werby
"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