Giter Site home page Giter Site logo

Sending Emails on TLS 1.2 [sf#13] about aim HOT 4 CLOSED

nilnull avatar nilnull commented on August 21, 2024
Sending Emails on TLS 1.2 [sf#13]

from aim.

Comments (4)

nilnull avatar nilnull commented on August 21, 2024

Commented by naveenpapagari on 2017-01-23 05:57 UTC
I have been using Aegis Implicit Mail (AIM) to send mails over ssl for some time. We have recently upgraded to TLS 1.2 and now i am not able to send any mails. I have been getting error saying - The client and server cannot communicate, because they do not possess a common algorithm. Need help on this ... Thank you

from aim.

nilnull avatar nilnull commented on August 21, 2024

Commented by nilnull on 2017-01-23 09:39 UTC
Hello and thanks for choosing AIM, can you check if your certificate has been changed? would you provide more detail? can you debug using source code and send us the log? thanks again

from aim.

nilnull avatar nilnull commented on August 21, 2024

Commented by naveenpapagari on 2017-01-23 18:21 UTC
Hello Araz .. Thanks for replying back ..

Following are the details -

Message :
The client and server cannot communicate, because they do not possess a common algorithm

StackTrace :
at System.Net.SSPIWrapper.AcquireCredentialsHandle(SSPIInterface SecModule, String package, CredentialUse intent, SecureCredential scc)
at System.Net.Security.SecureChannel.AcquireCredentialsHandle(CredentialUse credUsage, SecureCredential& secureCredential)
at System.Net.Security.SecureChannel.AcquireClientCredentials(Byte[]& thumbPrint)
at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost)
at AegisImplicitMail.SmtpSocketConnection.Open(String host, Int32 port, SslMode isSsl, Int32 timeout)
at AegisImplicitMail.SmtpSocketClient.EsablishSmtp()

Code :
var mailer = new MimeMailer(ConfigurationManager.AppSettings["SMTPServer"], Convert.ToInt32(ConfigurationManager.AppSettings["SMTPServerPort"]));
mailer.User = ConfigurationManager.AppSettings["SMTPUserName"];
mailer.Password = ConfigurationManager.AppSettings["SMTPPassword"];
mailer.SslType = SslMode.Ssl;
mailer.AuthenticationMode = AuthenticationType.Base64;
mailer.SendCompleted += compEvent;
mailer.SendMailAsync(mymessage);

I have even changed SslType to TLS and tried and it gives out the same error -

"We couldn't connect to server, server is clossing".

from aim.

nilnull avatar nilnull commented on August 21, 2024

Commented by nilnull on 2017-01-23 18:34 UTC
Dear Naveen, I suspect that error has nothing todo with AIM. Its a generic c# error and might be caused by invalid server configurations, multiple protocols, disables ssl and

from aim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.