Author |
|
zedekiah Groupie
Joined: 24 June 2009 Location: United States
Online Status: Offline Posts: 44
|
Posted: 20 July 2009 at 6:47am | IP Logged
|
|
|
Hello,
I need an example of processing an email with a digital signature.
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 20 July 2009 at 6:57am | IP Logged
|
|
|
Again, this was answered through Helpdesk. Please don't duplicate the same questions here. This forum is a community resource, requests submitted here are not guaranteed to be answered by our support staff. If you need help from AfterLogic Support Team, we recommend using our Helpdesk instead.
Best regards,
Andrew
|
Back to Top |
|
|
zedekiah Groupie
Joined: 24 June 2009 Location: United States
Online Status: Offline Posts: 44
|
Posted: 20 July 2009 at 7:46am | IP Logged
|
|
|
I do it because you know more than anyone else and you seem to be on the forums today. Can mailbee convert a smime.p7m file to a plaintext file or a .msg file or an .eml file?
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 21 July 2009 at 12:25am | IP Logged
|
|
|
Here's what I've replied you via Helpdesk.
If you can see only headers in Outlook, most probably that message is encrypted. Usually, encrypted message contains plain (non-encrypted) headers block and encrypted part like smime.p7m. With regard to signed message, it contains plain headers and plain bodies (in other words, it looks like non-encrypted and non-signed message), plus a signature block.
Decrypting encrypted or verifying signed messages requires certificate with public or/and private key:
- to decrypt a message, you need recipient's private key;
- to verify sender's signature, you need sender's public key.
Please try the following methods:
- Smime.Decrypt:
http://www.afterlogic.com/mailbee-net/docs/MailBee.Security. Smime.Decrypt_overload_1.html
http://www.afterlogic.com/mailbee-net/docs/MailBee.Security. Smime.Decrypt_overload_2.html
- Smime.Verify:
http://www.afterlogic.com/mailbee-net/docs/MailBee.Security. Smime.Verify.html
In most cases, if message is signed/encrypted according to S/MIME standard, you don't need any third-party tool to verify/decrypt it, the above methods should do the trick. But it's IMPORTANT to have the appropriate certificates in any case, no matter whether you use the above methods or a third party tools.
So, I recommend you to make sure you have necessary certificates and try decrypting/verifying the message via the above methods.
If something goes wrong or you don't want to use the above methods for some reason, you may extract smime.p7m attachment and use a third-party tool to decrypt it. You can obtain smime.p7m from message attachments collection:
http://www.afterlogic.com/mailbee-net/docs/MailBee.Mime.Mail Message.Attachments.html
To save necessary attachment, use the following method:
http://www.afterlogic.com/mailbee-net/docs/MailBee.Mime.Atta chment.SaveToFolder.html
How to learn which of the attachments is smime.p7m? You can check attachment name or content type:
http://www.afterlogic.com/mailbee-net/docs/MailBee.Mime.Atta chment.Filename.html
http://www.afterlogic.com/mailbee-net/docs/MailBee.Mime.Atta chment.ContentType.html
The content type should be something like "application/x-pkcs7-mime".
BTW, I've moved this topic to MailBee.NET Security forum as this doesn't have any relation to MailBee.NET IMAP.
Best regards,
Andrew
|
Back to Top |
|
|
rekk1986 Newbie
Joined: 30 December 2009 Location: United States
Online Status: Offline Posts: 4
|
Posted: 04 January 2010 at 6:54pm | IP Logged
|
|
|
I think that to have a signature is not
difficult. What u need to do is set up them in
setting and then u will have a signature as you
want :). I totally agree with Andrew's idea.
Very useful
|
Back to Top |
|
|