Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Problem - signed messages in sent folder Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mackolo22
Groupie
Groupie
Avatar

Joined: 09 October 2018
Location: Poland
Online Status: Offline
Posts: 41
Posted: 30 January 2019 at 5:45am | IP Logged Quote mackolo22

Hello!
We allow our users to sign their messages. We do it like this:
Smime secureMime = new Smime();
message = secureMime.Sign(message, mailbeeCertificate);


Let's say that sender of the message is test@gmail.com.
After signing message IsSigned property is set to true and ContentType equals "multipart/signed". We received that message in Thunderbird and it says that it's signed. Everything works fine. But when we delete test@gmail.com account (both in Thunderbird and our mail client), configure it again and synchronize folder "Sent", the message is unsigned. Its content type is set to "multipart/alternative". What can cause this problem? Why signed messages downloaded from "Sent" folder are not signed?

Back to Top View mackolo22's Profile Search for other posts by mackolo22
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 30 January 2019 at 5:53am | IP Logged Quote Igor

Not sure if I understood this correctly, specifically regarding the folder "Sent", where does that one come from? Did you actually upload the message there with MailBee, or it was placed by Gmail there?

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
mackolo22
Groupie
Groupie
Avatar

Joined: 09 October 2018
Location: Poland
Online Status: Offline
Posts: 41
Posted: 30 January 2019 at 6:06am | IP Logged Quote mackolo22

Yes, after sending that message I uploaded it to folder "Sent". And that's where we are losing information that this message was signed. I will try to fix it. Thanks for your reply.
Back to Top View mackolo22's Profile Search for other posts by mackolo22
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 30 January 2019 at 6:21am | IP Logged Quote Alex

Maybe you sent one message and uploaded another?

E.g.

msgSigned = SignMessage(msgNotSigned)
Send(msgSigned)
UploadToSent(msgNotSigned)

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
mackolo22
Groupie
Groupie
Avatar

Joined: 09 October 2018
Location: Poland
Online Status: Offline
Posts: 41
Posted: 30 January 2019 at 6:41am | IP Logged Quote mackolo22

No, I found out that we sign the message which is then sent by SmtpClient and later in next operation we upload this message to "Sent" folder by ImapClient. I have to sign that message again before uploading and it will work fine. Thanks for your time :)
Back to Top View mackolo22's Profile Search for other posts by mackolo22
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide