Comments (4)
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.
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.
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.
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)
- Content-Type text/html not set [sf#11] HOT 1
- How to use custom formatted HTML body [sf#12] HOT 4
- End of line characters, /r/n, in email body get converted to white space. [sf#14] HOT 1
- Need support for alternateviews [sf#15] HOT 4
- Error when adding attachment [sf#16]
- Email not send if attachment used [sf#17] HOT 5
- SmtpSocketClient NullReferenceException on TestConnection() method
- Error 554 line too long at various providers if an attachment is sent HOT 1
- From Response :250 2.1.0 OK d17sm11257454wrg.26 - gsmtp Sent Response :Error in reading response from server. Unable to read data from the transport connection: Connection timed out. HOT 1
- Delemiter when using multiple to/cc/bcc recipients
- Problems with from-encoding HOT 3
- Message-Id Header HOT 1
- Non async call
- Cannot use package on .NET 7 VS 2022 HOT 1
- Support large attachments [sf#6]
- Be able to use streams as attachments [sf#7]
- Conversion of System.Net.Mail.Attachment objects to the MimeAttachment type. [sf#8]
- Add support for mono [sf#9] HOT 1
- Date and Time Issues [sf#10] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aim.