Test email showing error message "Failure sending mail"

Test email showing error message "Failure sending mail"

******Internal to CitiXsys******

Environment:

iVend Version 6.6 with SAP B1 10

Problem Statement: 

Test email showing error message "Failure sending  mail"


Symptoms: 

Test email showing error message "Failure sending mail". below error message show in MC log file.
<Event>
      <Version>6.6.8364.29760</Version>
      <Category>ERROR</Category>
      <Time>1:57:08 AM</Time>
      <Message>Failure sending mail.</Message>
      <ExceptionInfo>
        <Type>System.Net.Mail.SmtpException</Type>
        <Message>Failure sending mail.</Message>
        <Source>System</Source>
        <TargetSite>Void Send(System.Net.Mail.MailMessage)</TargetSite>
        <StackTrace>   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at CXS.SubSystem.Loyalty.LoyaltyEmailClass.SendMail(String host, String SMTPUserName, String SMTPPassword, Int32 port, Boolean useSSL, Boolean isAlternateView)</StackTrace>
        <InnerExceptionInfo>
          <Type>System.ComponentModel.Win32Exception</Type>
          <Message>The client and server cannot communicate, because they do not possess a common algorithm</Message>
          <Source>System</Source>
          <TargetSite>System.Net.SafeFreeCredentials AcquireCredentialsHandle(System.Net.SSPIInterface, System.String, System.Net.CredentialUse, System.Net.SecureCredential)</TargetSite>
          <StackTrace>   at System.Net.SSPIWrapper.AcquireCredentialsHandle(SSPIInterface SecModule, String package, CredentialUse intent, SecureCredential scc)
   at System.Net.Security.SecureChannel.AcquireCredentialsHandle(CredentialUse credUsage, SecureCredential&amp; secureCredential)
   at System.Net.Security.SecureChannel.AcquireClientCredentials(Byte[]&amp; thumbPrint)
   at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]&amp; 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.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)</StackTrace>
        </InnerExceptionInfo>
      </ExceptionInfo>
    </Event>

Resolution/Work Around:

Follow the below steps.
1.Follow the below path.
C:\Program Files (x86)\CitiXsys\iVend Retail\ManagementConsole
2.Open the CXSManagementconsole.xml file.



3.Enable the TLS12 forEmail.
<EnableTLS12forEmail>true</EnableTLS12forEmail>



Recommendations /Suggestion:

Minimum patch required for this setting to work with MC is 8379.
Note:Make sure backup should be taken before replacing the file.