Jump to content

Recommended Posts

Hey Everyone,

I am using a host that uses Cpanel/GNUpg. From what I can tell, any email sent to me using PGP/GPG is stored on my server as encrypted. If the sender didn't use encryption, it is saved as plain text.

I know I can pipe my emails through a PHP script. Does a PHP script/library exist that will automatically encrypt any plain text emails using my public key, before passing them to my email client?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/328560-gpg-on-incomming-mail/
Share on other sites

9 hours ago, gizmola said:

Why?

Do you expect everyone you send email to, to use PGP to decrypt your emails?  

No the idea is,

if I send or receive email from a email with pgp the php script does nothing.

if I receive an email from someone who doesn’t, the php script will encrypt it on my server.

 

if I sent it to someone that doesn’t have it, it will send a plain text email, then encrypt the local copy.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.