[PHP] Help with mail() function

2004-02-02 Thread Pooya Eslami
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: html headtitleTest/title/head body form action=textareamail.php

Re: [PHP] Help with mail() function

2004-02-02 Thread Matt Matijevich
[snip] ?php if ($TextArea=) { echo You have to fill out the entire form, go back and try again.; } else { $to = [EMAIL PROTECTED]; $from = From-Test; $subject = Subject-Test; $message = $TextArea; mail($to, $subject, $message,From: $from); echo Thankyou; } ? [/snip] What is happening when the

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, to and from are

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: html headtitleTest/title/head body form

[PHP] help with mail() function!

2002-07-12 Thread Thomas \omega\ Henning
Hello all, I am trying to build a php driven mailing list where i can send an email to the whole list. Here is my code: ?php $to = Henning Tamas [EMAIL PROTECTED] . ,; $header = From: Test List [EMAIL PROTECTED]; include(pop3.php); $user=irc; $password=*; $apop=0;

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 |

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