how to sign an e-mail?
Hello
I have the fallowing problem. I need to write a simple application that will work as a primitive version of outlook express - a program that will send e-mails (not even receive). The whole thing is that it has to be able to send signed and encrypted e-mails. I'm new to all those things: certificates, cryptography... I don't even know where to look for the answears for my questions. On this forum I've read about www.bouncycastle.org but I can't find there anything connected with e-mails - does it have anything to do with them?
Please help me if you can :)
ania
[600 byte] By [
ania_a] at [2007-10-1 0:26:18]

Ok I've already solved my problems with sending signed mail. Now I have new one:
When I send an e-mail I use my certificate which contains my proper and real (!)e-mail address, but when I get it (I send it to myself) there are some security warnings because the address from the ceritifate missmatch witch the one that the message is from. I chcecked it and it turns out that my message has the Message-Id header set on some strange address probably automaticly generated... but I don't know what is generating it and what should I change and where, so that this parameter would change too. It looks like some_numbers.computer_user_name@computer_name. I changed the user name so that now it matches but what about the computer name? Is there any other way than changing it's name to the mail server name :))) ? Or maybe I should change the address in my certificate? and what should it be? - exactly the same as the one in message-id? (without the digits of course :] )
ania