Jump to content

Email Help Needed


schilders

Recommended Posts

Good Evening,

I'm using Dreamweaver 8 to create a registration site. I need to send an email to a registered user confirming their login credentials. I attempted to use the code pasted below:
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?php
$UserName=$_POST['UserName'];
$Password=$_POST['Password'];
$Email=$_POST['EmailAddress'];
$to= $_POST['EmailAddress'];
$subject= "Login Credentials for Seeding the Future Registration Site";
$receiptMessage = "Thank You for Creating a User Name for the Seeding the Future Registration Site\n\n\nHere is what you submitted to us\n\n"
."User Name: ".$UserName. "\n"
."Password: ".$Password. "\n"
."Email: ".$Email. "\n"
mail($to,$subject,$receiptMessage);
?>
However, when I loaded the page to my server I received an error message:
Parse error: parse error, unexpected T_STRING in /usr/local/apache/htdocs/seeding_staging_sid/user_registration.php on line 123
where line 123 is my mail statement.

Thanks, in advance, for your help.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.