There is a good article by julie meloni on webmonkey this has the scripts you need.
but heres one I used
Function encrypt_and_send($message)
{
// build message header
$msg = "Sender's Full Name :\t$first_name\n";
$msg .= "Sender's E-Mail :\t$email\n";
$msg .= "Order details :\t". $message. "\n\n";
putenv("PGPPATH=pathto/your.pgp");
$tmpToken = md5(uniqid(rand()));
$plainTxt = "path_to_directory" . "$tmpToken" . "data";
$crypted = "path_to_directory" . "$tmpToken" . "pgpdata";
//open file and dump in plaintext contents
$fp = fopen($plainTxt, "w+");
fputs($fp, $msg);
fclose($fp);
system("path_to_pgp/pgp -eaf 'passphrase' < $plainTxt 2 > $crypted"); // this is pgp version dependent
$fd = fopen($crypted, "r");
$mail_cont = fread($fd, filesize($crypted));
fclose($fd);
unlink($plainTxt);
unlink($crypted);
$recipient = "email address";
$subject = "Website Order";
$mailheaders = "From: Web Site\n";
$mailheaders .= "Reply-To: $this->email\n\n";
mail("$recipient", "$subject", $mail_cont, $mailheaders);
}