Re: Problems using the function mail
| From: | Rick Emery | Date: | Mon, 21 Oct 2002 14:26:45 +0000 |
| Subject: | Re: Problems using the function mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120739@lists.php.net to get a copy of this message | ||
You must print the values (see changes below):
<td width="25%"><b><font face="Tahoma"
size="2">User:</font></b></td>
<td width="25%"><b><font size="2"> <?php print $User
?> </font></b></td>
<td width="25%"><b><font face="Tahoma"
size="2">Login:</font></b></td>
<td width="25%"><b><font size="2"><?php print $Login
?></font></b></td>
----- Original Message -----
From: "Horacio Adami" <hadami@montevideo.com.uy>
To: <php-general@lists.php.net>
Sent: Tuesday, October 08, 2002 2:33 PM
Subject: [PHP] Problems using the function mail
Sorry my english is not good.
I need to send an e-mail with an html content.
I have defined, in a form, variables with values obtained from a table.
for example:
$User = $user->name->GetValue();
$Password = $user->passw->GetValue();
$Login = $user->login->GetValue();
$Inscrip = $user->inscrip->GetValue();
I need to display those variables into the mail
for example
<head>
..
..
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="555" border="1" cellpadding="4"
cellspacing="1" height="100%" bgcolor="#CCCCCC">
<tr bgcolor="#000099">
..
..
<tr>
<td width="25%"><b><font face="Tahoma"
size="2">User:</font></b></td>
<td width="25%"><b><font size="2"> <?php $User ?>
</font></b></td>
<td width="25%"><b><font face="Tahoma"
size="2">Login:</font></b></td>
<td width="25%"><b><font size="2"><?php $Login
?></font></b></td>
</tr>
..
..
</table>
It doesn't work
The sended mail doesn't display the value of $User or $Login
What can be wrong?