Send Email via non-secure server

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?

Anyone?

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

It should be optional. Just like everything else in SambaPOS. Make it a toggle to be required or not.

I mean heck, even MS Outlook gives you a choice on that, as do most (probably all) email Clients.

I thought maybe the “Bypass SSL Errors” was a way to turn it off, but I guess not.

I cannot get Gmail to work either.

smtp-mail.outlook.com on port 25 … no success.
smtp-mail.outlook.com on port 587 … SUCCESS.
smtp.live.com on port 587 … SUCCESS.

Gmail was a little tricky to configure, but I managed to get it working, gimme a few minutes I’ll suss out what I did to get it working

Normally ISP block port 25, isn’t it?

Usually they block 25 yes.

I tried 587, 465, Bypass SSL (or not)

In Gmail: IMAP turned on, Allow less-secure apps

… one of 2 errors appears in the log:

Authentication required, or Timeout.


IMAP is ON …


Your app might not support the latest security standards. Try changing a few settings to allow less secure apps access to your account.


If you’ve turned on 2-Step Verification for your account, you might need to enter an App password instead of your regular password.

That ^ link brings me to the following, which I assume is due to me NOT having 2-Step Verification turned on for my account …

I found this link which shows a few others with similar problem. Hoping to shed some light on the matter.
http://www.nopcommerce.com/boards/t/23569/solved-551-authentication-required-with-smtpgmailcom.aspx

I had 2 step verification on my Gmail account, and the app password actually worked for me when configuring that email setup

This sorted out the sending of a workperiod via email it was giving me an error