The mail command is a lot less scary than it seems. Here's all you need:
mail($emailrecipient, "This is the subject line"," ","From:$email\nReply-To:$email\n\n
This is the body of the message.");
So what I would do is change your script to be like this:
<?php
- read database to get client's id number
?>
To send mail to this person
<a href="mail-page1.php?client=<?php echo $row_company['client_id']; ?>">Click Here</a>
So if someone does a view source, they will see this:
To send mail to this person <a href="mail-page1.php?client=47">Click Here</a>
...which is harmless.
Then you make your mail-page1.php script look like this:
<form action="mail-page2.php">
<input type=hidden name=client value=<?php echo $_REQUEST['client']; ?>>
<input type=text name="sender_email">
<textarea name=message rows=10 cols=80></textarea>
<input type=submit value="Send">
</form>
So when the user clicks on the link, the client's ID number gets passed to the mail-page1.php script. That page builds a form and includes the client ID number in a hidden field so that it gets passed to the next page.
Then your mail-page2.php script looks like this:
<?php
- use the client ID number to look up the client's real email address
mail($clients_email, "This is the subject line"," ","From:$sender_email\nReply-To:$sender_email\n\n
$message");
print "Thank you. We have sent the email to the client. Have a nice day";
?>