I have searched for days on how to use PGP to encrypt a message and email it from the server, and found a script from Julie Meloni. This works but places temporary unencrypted files on the server!!. I have also seen code that uses pipes that does away with the temp files but I cannot get any of them to work properly, the encrypted file is corrupt.
Has anyone found a good way of doing this?
Any help, tips or ideas will be greatly appreciated.
Mike.