I keep getting this error when trying to send email…
[Exception Info 1]
Top-level Exception
Type: System.Net.Mail.SmtpException
Message: Server does not support secure connections.
Source: System
Stack Trace: at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Samba.Services.Implementations.EMailService.InternalSendEmail(String smtpUser, String smtpPassword, Int32 smtpPort, String toEmailAddress, String ccEmailAddresses, String fromEmailAddress, String subject, String body, String fileName, Boolean bypassSslErrors, MailMessage mail, SmtpClient smtpServer)
at Samba.Services.Implementations.EMailService.SendEmail(String smtpServerAddress, String smtpUser, String smtpPassword, Int32 smtpPort, String toEmailAddress, String ccEmailAddresses, String fromEmailAddress, String subject, String body, String fileName, Boolean deleteFile, Boolean bypassSslErrors, Int32 retryCount, Int32 retryMinutes)
I know the server I am sending through does not accept secure connections. I am aware of this. How do I get around it? Why does SambaPOS make this a mandatory requirement that it be secure?
Also, why is it that we are not allowed to leave the CC field blank? Why is that mandatory?
You know when I was setting up email I asked myself the same question regarding mandatory CC.
As for secure connection, i think it’s because of the security breaches and hacks. It also helps in any case that another user data gets compromised then samba will be to blame if anyone tries to sue them. unsecured connection allows whatever information it is trying to send to be intercepted easily thus allowing easy packet sniffing and security breach. So I think having security mandatory is a good thing