473,387 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Encrypt and Decript email using PHP?

Don
Is there a way to send an encrypted email from server-side PHP, and then
decrypt it using an email client such as Outlook?

Thanks,
Don

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Dec 9 '05 #1
6 7726
Don <no@adr.com> wrote:

Is there a way to send an encrypted email from server-side PHP, and then
decrypt it using an email client such as Outlook?


Sure. You can pass the body through PGP and base64-encode it, and include
the appropriate MIME sections to identify it as encoded. You can send an
encoded message from Outlook to your Linux account so you can see what the
format has to look like.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Dec 10 '05 #3
Don
On 10 Dec 2005 00:03:33 -0800, "cross at php net" <co*******@gmail.com>
wrote:
This may help...
http://www.pantz.org/scripting/php/gpgemail.shtml


This looks like exactly what I need. One question though, what does the
client have to do to use Outlook or any other email client to read the
encrypted email? I use Netscape's Messenger, how do I read it?

Thanks for your help.
Don

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Dec 10 '05 #4
Don
On Sat, 10 Dec 2005 08:06:46 GMT, Tim Roberts <ti**@probo.com> wrote:
Don <no@adr.com> wrote:

Is there a way to send an encrypted email from server-side PHP, and then
decrypt it using an email client such as Outlook?


Sure. You can pass the body through PGP and base64-encode it, and include
the appropriate MIME sections to identify it as encoded. You can send an
encoded message from Outlook to your Linux account so you can see what the
format has to look like.


Thanks much Tim.
--Don

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Dec 10 '05 #5
Don wrote:
This looks like exactly what I need. One question though, what does the
client have to do to use Outlook or any other email client to read the
encrypted email? I use Netscape's Messenger, how do I read it?


The client will need GPG or PGP installed to be able to read the encrypted
message. Both of these encryption products have plugins for various
different mail clients, including Thunderbird, Netscape Messenger, Mozilla
Mail & News, Outlook, Outlook Express, Evolution and others.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Dec 11 '05 #6
Don
On Sun, 11 Dec 2005 10:29:23 +0000, Toby Inkster
<us**********@tobyinkster.co.uk> wrote:
Don wrote:
This looks like exactly what I need. One question though, what does the
client have to do to use Outlook or any other email client to read the
encrypted email? I use Netscape's Messenger, how do I read it?


The client will need GPG or PGP installed to be able to read the encrypted
message. Both of these encryption products have plugins for various
different mail clients, including Thunderbird, Netscape Messenger, Mozilla
Mail & News, Outlook, Outlook Express, Evolution and others.


Thanks Toby. Things are starting to make more sense. I think I can start
working on this now.

Thanks again,
Don

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Dec 11 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Pratchaya | last post by:
How to encrypt URL Address ? ============================== Now i 'm play about PHP language . and now i want ot know how to " advance url display " like encrypt URL Address in browser ( IE ,...
2
by: Mark Hanford | last post by:
I've been setting up a new MySQL/PHP site which will contain store some CC details, and have been wondering how to pass the keys. CC's are written in a similar way to: INSERT INTO cc (ccName,...
2
by: Anilza Popat | last post by:
I would like to know how to encrypt and decrypt files using c#. I want a program that asks for password before encrypt or decrypt the file. best regards
2
by: Miles Keaton | last post by:
still doing my switch from MySQL to PgSQL, and can't figure out what the comparable function would be for this: In MySQL, to store a big secret (like a credit card number) in the database that I...
8
by: toupeira23 | last post by:
Hello, I'm trying to encrypt passwords in my app. After discovering that there's no simple function to do this, I wrote a wrapper class which decodes a string using UTF8, encrypts it with...
8
by: Declan Barry | last post by:
Hi all.. Does anyone have a php script that would allow me to encrypt the contents of a txt file? I have an excel file which has a list of usernames and generated passwords. What I would...
8
by: jayender.vs | last post by:
Well .. i have a text box .. and in that i will enter a letter say"A" and in return there should be a message box saying the encrypted value say "J". In simple : how to encrypt a letter in...
4
by: Steph | last post by:
Hi Everybody, Does anybody know whether it is possible to encrypt AUTOMATICALLY in PHP (at the server side) an Adobe PDF document (also stored at the server side) by using a public key coming...
3
by: JDeats | last post by:
I have some .NET 1.1 code that utilizes this technique for encrypting and decrypting a file. http://support.microsoft.com/kb/307010 In .NET 2.0 this approach is not fully supported (a .NET 2.0...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.