Author |
|
luki555 Newbie
Joined: 14 December 2009
Online Status: Offline Posts: 8
|
Posted: 14 December 2009 at 6:59am | IP Logged
|
|
|
Hi. I made a SMTP client for sending emails and i encrypt and sign emails with Smime methods Encrypt() and Sign(). When I receive the email I cannot open it in Outlook 2007, but in Outlook 2003 it works fine. I have instaled the proper certificates, I tried to use the latest Mailbee.NET component , but it still doesn't work. When I try to open it I get the error message: "Security system couldn't find the name of your digital ID"(the same I get when I don't have the certificate)
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 14 December 2009 at 8:05am | IP Logged
|
|
|
Are you running both Outlook 2007 and Outlook 2003 on the same machine or on different ones? If those are different machines, check Internet Explorer options on the machine with Outlook 2007 and make sure certificate with your private key is there under Personal tab of Certificates store.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
luki555 Newbie
Joined: 14 December 2009
Online Status: Offline Posts: 8
|
Posted: 15 December 2009 at 5:48am | IP Logged
|
|
|
They are running on different machines.
I checked the certificate store and the certificate is under Personal tab.
Any other ideas?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 15 December 2009 at 6:23am | IP Logged
|
|
|
Do you see the following text when viewing the certificate?
Quote:
You have a private key that corresponds to this certificate |
|
|
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
luki555 Newbie
Joined: 14 December 2009
Online Status: Offline Posts: 8
|
Posted: 15 December 2009 at 6:44am | IP Logged
|
|
|
Igor wrote:
Do you see the following text when viewing the certificate?
Quote:
You have a private key that corresponds to this certificate |
|
|
--
Regards,
Igor, AfterLogic Support |
|
|
Yes, I see that.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 15 December 2009 at 7:02am | IP Logged
|
|
|
And if you sign a message with that certificate and send the message from the machine with Outlook 2003 to the machine where Outlook 2007 is installed, does everything work as expected or error occures as well?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
luki555 Newbie
Joined: 14 December 2009
Online Status: Offline Posts: 8
|
Posted: 15 December 2009 at 7:12am | IP Logged
|
|
|
I tried to send emails from different machines, but in outlook 2007 I get the error.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 15 December 2009 at 7:14am | IP Logged
|
|
|
Even if sent not from MailBee, e.g. if sent from Outlook 2003? It should be addressed to Microsoft in that case.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 15 December 2009 at 7:15am | IP Logged
|
|
|
Sorry if my previous question was not clear enough, I meant trying to sign & send from Outlook 2003 and receive by Outlook 2007.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
luki555 Newbie
Joined: 14 December 2009
Online Status: Offline Posts: 8
|
Posted: 15 December 2009 at 7:16am | IP Logged
|
|
|
No, I tried to send encrypted mails without Mailbee and it worked fine and i tried to made email manually in outlook express and it worked too.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 16 December 2009 at 1:21am | IP Logged
|
|
|
Try to decrypt and verify the message with MailBee.NET on the machine with Outlook 2007 installed. Does it work?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
luki555 Newbie
Joined: 14 December 2009
Online Status: Offline Posts: 8
|
Posted: 06 January 2010 at 8:32am | IP Logged
|
|
|
Hi. I tried to decrypt and verify the message on machine with Outlook 2007 and it worked(I got the original message). But in outlook 2007 on the same machine I couldn`t open the email(same error message I got before). The certificate was installed correctly and in correct cert. store.
|
Back to Top |
|
|
luki555 Newbie
Joined: 14 December 2009
Online Status: Offline Posts: 8
|
Posted: 12 January 2010 at 7:59am | IP Logged
|
|
|
Do you have any other ideas?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 12 January 2010 at 8:26am | IP Logged
|
|
|
We've tried reproducing the issue with Outlook 2007, and everything worked as expected. The only suggestion we have at the moment is to check the certificate placed in the store and make sure it contains the same email address in "E" line as the one messages are sent to.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
luki555 Newbie
Joined: 14 December 2009
Online Status: Offline Posts: 8
|
Posted: 13 January 2010 at 8:18am | IP Logged
|
|
|
Hi. I checked the "E" line, but in Outlook 2003 it works fine even if the sender's email is diferent from "E" param in certificate. In Outlook 2007 we used open the emails from email in "E" param and from it's alias but it didn't help(today I tried it on 2 computers). Can you check my code, if it works for you? Thanks.
My Settings:
MailBee.NET version 5.8.2.173 or 3.0.2.79
.NET framework version 3.5 SP1
Visual Studio version 9.0.30729.1
Outlook 2003 version 11.8313.8221 SP3
Outlook 2007 version 12
And Code:
Smtp.LicenseKey = "";
MailBee.Security.Powerup.Licen seKey = "";
Smtp objMailBeeSMTP = new Smtp();
objMailBeeSMTP.SmtpServers.Add (new SmtpServer("smtpserver",25,1));
MailBee.Mime.MailMessage msg = new MailBee.Mime.MailMessage();
msg.BodyPlainText = "ahoj";
msg.Subject = "mailbee mail test";
msg.From = new MailBee.Mime.EmailAddress("mail");
msg.To.Add(new MailBee.Mime.EmailAddress("mail"));
msg.Attachments.Add(@"path", "file1.txt", "");
Smime smime = new Smime();
CertificateCollection coll = new CertificateCollection();
Certificate encr = new Certificate(@"path", CertFileType.Cer, "");
Certificate sign = new Certificate(@"path", CertFileType.Pfx, "");
coll.Add(encr); &nb sp; &nb sp;
msg = smime.SignAndEncrypt(msg, sign, coll);
objMailBeeSMTP.Message = msg;
objMailBeeSMTP.Send();
|
Back to Top |
|
|