I would like to know how to send encrypted data from my webserver. I pass credit card data to the server via SSL, but then need to pass it to myself. I have seen references on how to do this via PGP but it would seem potentially easier with S/MIME. S/MIME works well if I wish to send encrypted email from one PC to another, so why can't I use the PHP mail command to do it from the server??? This would obviously involve the server knowing my public key etc. but I don't know how to specify this items.