RE: [PHP] Help with mail...

2002-09-22 Thread John Holmes
Variables are not evaluated within single quotes. You are trying to send an email to $address, literally. If you just have a single variable, lose the quotes entirely. Mail($address,$subject,$body); ---John Holmes... > -Original Message- > From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTE

Re: [PHP] Help with mail...

2002-09-22 Thread Chuck PUP Payne
Ok, that work. Why does the ' (quote) not make it work is it because it's an array? Any thanks John that got it work. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with mail...

2002-09-22 Thread Justin French
strings in double quotes are evaluated looking for $vars and {$vars} to substitute. strings with in single quotes are not evaluated for vars. $var = "my favourite color is {$col}"; // works $var = "my favourite color is $col";// works $var = 'my favourite color is $col';// doesn't work

RE: [PHP] Help with mail...

2002-09-23 Thread John Holmes
e string. ---John Holmes... > -Original Message- > From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]] > Sent: Sunday, September 22, 2002 11:53 PM > To: [EMAIL PROTECTED] > Cc: PHP General > Subject: Re: [PHP] Help with mail... > > Ok, that work. Why does the ' (quote)

Re: [PHP] HELP with mail()

2007-04-06 Thread Tijnema !
On 4/6/07, Zhimmy Kanata <[EMAIL PROTECTED]> wrote: I created the following email program from a email function that I know works in another program. When I create a simple form page listed below and submit it. It echos the $email and the $username and it writes it to the page. So it is findi

Re: [PHP] Help with Mail NEVERMIND

2002-05-30 Thread charlesk
Oops I was misspelling the recipients name. :) Charles Killmer -- Original Message -- From: "charlesk " <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> Date: Thu, 30 May 2002 09:09:33 -0500 I am getting a "Server Error" when I try to send an email to a

[PHP] RE:[PHP] Help with mail

2002-05-30 Thread r
What is this? magicians day? I have a dog, can you tell me why he barks sometimes? Show us some code dude, or is it "code red" classified? There could be a dozen possible reasons but if you show the code you stand a better chance of finding out what the problem is, from me or the other dudes on

Re: [PHP] help with mail() function!

2002-07-12 Thread Analysis & Solutions
You wouldn't happen to be on a windows system? Read the "Warning:" on the manual page: http://www.php.net/manual/en/function.mail.php --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolu

Re: [PHP] help with mail() function!

2002-07-12 Thread Thomas \"omega\" Henning
No I only work on *nix platforms "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You wouldn't happen to be on a windows system? Read the "Warning:" on the > manual page: > http://www.php.net/manual/en/function.mail.php > > --Dan > > -- >

Re: [PHP] Help with mail() function

2004-02-02 Thread Matt Matijevich
[snip] [/snip] What is happening when the form is posted? This is just a guess, but I think registar_globals is probaby off. try this -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with mail() function

2004-02-02 Thread Matt Matijevich
ahh, I have to correct myself replace this: if ($_POST['TextArea']="") { with this: if ($_POST['TextArea']=="") { -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Help with mail() function

2004-02-02 Thread Matt Matijevich
did you replace ($TextArea="") with ($TextArea=="") ? ($TextArea="") will reassign $TextArea to "" >>> "Pooya Eslami" <[EMAIL PROTECTED]> 2/2/2004 3:00:32 PM >>> Well the problem is not that it won't get executed, its that every thing will be sent except the message in the textarea! subject, t

RE: [PHP] Help with mail() function

2004-02-02 Thread Pooya Eslami
Well the problem is not that it won't get executed, its that every thing will be sent except the message in the textarea! subject, to and from are sent fine -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with mail() function

2004-02-02 Thread Russell Shaw
Pooya Eslami wrote: Hi, I'm new to php and this newsletter. I have a form on my webpage and a php file to email it to me but the contents of the text area are not emailed to me. Can anyone help me with this? here is the code for my html and php files: Test Comments: $message=$_POST[Text

Re: [PHP] RE:[PHP] Help with mail

2002-05-30 Thread Ed Gorski
You know why he barks? Tell me! At 08:06 PM 5/30/2002 -0700, r wrote: >What is this? magicians day? >I have a dog, can you tell me why he barks sometimes? > >Show us some code dude, or is it "code red" classified? >There could be a dozen possible reasons but if you show the code you stand a >

Re: [PHP] help with mail() using smtp-auth

2003-10-26 Thread Marek Kilimajer
mail function cannot do stmp-auth, but there are classes that can, check out www.phpclasses.org/mimemessage Trell wrote: Hello, first time on the list, and I'm trying to learn PHP. Here is my setup, 2 servers, 1 is the MTA and 1 is the Web Server. The MTA is a qmail server with smtp-auth that ne