![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Signing and encrypting emails with attachment Hi All, I would like to send emails through an application. Body and attachment have to be encrypted as well as digitally signed. I could able to sign it and send when it does not contain an attachment. Once I attached something someone can see the attachment even without proper certificate installed. Also body of the email gets disappeared in the same time. I am using .NET 2.0 and C#. Namespaces I am using are using System.Net.Mail; using System.Security.Cryptography.X509Certificates; using System.Security.Cryptography.Pkcs; Could some one help me with this please? Thanks Matt |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Signing and encrypting emails with attachment Hi, Mail encryption is not supported in System.Net.Mail. You can use encryption at transportation level using the EnableSsl property on SmtpClient. ref: http://msdn.microsoft.com/en-us/libr...enablessl.aspx If .NET 3.0 is possible for you, you may consider to use WCF and a message security method (or extend the programming model to implement what you want to do) ref: http://msdn.microsoft.com/en-us/library/bb397811.aspx If .NET 2.0 is the only one you can use, you may consider to implement your own security mecanism (embed your mail as an encrypted attachment, ...). Frédéric Queudret CTO MPOWARE http://www.mpoware.com/ "Mathew Coleman" <mthw.clmn@xxxxxx> wrote in message news:uTlwEVQ0IHA.2292@xxxxxx Quote: > Hi All, > > > > I would like to send emails through an application. Body and attachment > have to be encrypted as well as digitally signed. > > > > I could able to sign it and send when it does not contain an attachment. > Once I attached something someone can see the attachment even without > proper certificate installed. Also body of the email gets disappeared in > the same time. > > > > I am using .NET 2.0 and C#. Namespaces I am using are > > using System.Net.Mail; > > using System.Security.Cryptography.X509Certificates; > > using System.Security.Cryptography.Pkcs; > > > > Could some one help me with this please? > > > > Thanks > > Matt > > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Signing and encrypting emails with attachment Hi Frédéric, Thanks a lot for your prompt reply. ..NET 3.0 is not possible for this scenario. As you have suggested I tried the 3rd option earlier. There was a problem with that. In my case I want sign the mail as well. Once I attached something the body and the signed part is being disappeared. As you suggested I can encrypt the email as encrypted attachment, but I cannot avoid disappearing of the body soon after I add the attachment. I appreciate your help on this. Thanks and regards Matt "Frédéric Queudret" <frederic.queudret@xxxxxx> wrote in message news:832F29F2-574D-443C-9284-6679936BB563@xxxxxx Quote: > Hi, > > Mail encryption is not supported in System.Net.Mail. > You can use encryption at transportation level using the EnableSsl > property on SmtpClient. > ref: > http://msdn.microsoft.com/en-us/libr...enablessl.aspx > > If .NET 3.0 is possible for you, you may consider to use WCF and a message > security method (or extend the programming model to implement what you > want to do) > ref: http://msdn.microsoft.com/en-us/library/bb397811.aspx > > If .NET 2.0 is the only one you can use, you may consider to implement > your own security mecanism (embed your mail as an encrypted attachment, > ...). > > Frédéric Queudret > CTO MPOWARE > http://www.mpoware.com/ > > > "Mathew Coleman" <mthw.clmn@xxxxxx> wrote in message > news:uTlwEVQ0IHA.2292@xxxxxx Quote: >> Hi All, >> >> >> >> I would like to send emails through an application. Body and attachment >> have to be encrypted as well as digitally signed. >> >> >> >> I could able to sign it and send when it does not contain an attachment. >> Once I attached something someone can see the attachment even without >> proper certificate installed. Also body of the email gets disappeared in >> the same time. >> >> >> >> I am using .NET 2.0 and C#. Namespaces I am using are >> >> using System.Net.Mail; >> >> using System.Security.Cryptography.X509Certificates; >> >> using System.Security.Cryptography.Pkcs; >> >> >> >> Could some one help me with this please? >> >> >> >> Thanks >> >> Matt >> >> |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| ALL emails have attachment icon | Vista mail | |||
| When Replying To An E-Mail With Attachment, The Text Goes But NotThe Attachment. | Vista mail | |||
| emails with attachment repeatedly sent in live mail | Live Mail | |||
| emails with attachment repeatedly sent in live mail | Vista mail | |||
| Multiple identical emails when sending picture (jpq) attachment | Vista mail | |||