Forum Moderators: coopster
GnuPG is a command line program, so you'd simply pipe the mail content through it using whatever options you want and then return its output back to the mail routine as the message's content. The user receives the mail and then tells PGP Freeware to 'decrypt the current window'.
Voila.
Both are PGP products.
Are you on a shared server or do you have the authority to get into it's guts and set this up?
Do you know if GNUPG will decrypt the MCRYPT function in PHP? I am thinking that prior to sending the mail in my .php file I encrypt it using MCRYPT, send it, then have the user access a file or page that will do the decrypting for it. Let me know what you think.