i think in order for you to get a resolution on this, you need to explain things differently.
accordint to which mail you clicked on
where are the email links you are referring to here? ( on a previous page? )
I want to store the message accordint to whcih line you click on in a session.
well what does your table structure look like? is there an id field?
if so, you may be able to use a variable in the url.
<?
$Text = "<a href=CMail.php?id=$id>$fromuser</a>";
$Text2 = "<a href=readmsg.php?id=$id>$sub</a>";
?>