Outlook email not supported?

Recent changes to outlook mail, my setup cant send mails anymore, need 2.0 authentication which is not supported third party apps , cant change email for the reason wondering if samba looking for alternative option ? own mail to send ? any one having this issue ? any recommendations ?

Hello @gsreddy,

A few years ago Google changed it’s procedure regarding this feature.

Therefore we need to use the 2 Step Verification in order to send emails since then.

Outlook might’ve done something similar it could be why you are unable to send the reports as email anymore.

For the Gmail Accounts the solution is provided in the below steps;

Step-1;

Sign in with app passwords

Follow the steps of the document below and create an App Password and then use it in the Send Email Action on SambaPOS as SMTP Password.

This App password is the one you Generated in the Gmail Account / Settings / Security / App Passwords section >> It has 16 characters, You can see the attached image as reference.

Step-2;

Apply the steps of below document on SambaPOS;

https://kb.sambapos.com/en/2-4-12-e-how-to-send-reports-as-email-at-end-of-work-period/

Check the below image as well please.

1 Like

I’ve been reading the MS docs about the change, and the MailKit readme (MailKit/ExchangeOAuth2.md at master · jstedfast/MailKit · GitHub).

From what I gather, applications such as SambaPOS would need to get physical confirmation (popup) from the user to approve the OAuth login. This is fine for a mail app, not sure if it’s possible with SambaPOS.

Most of the documentation I’ve been able to find regarding sending emails headless revolves around hosted services (web back ends, etc.).

My suggestion to you would be to ditch Outlook for outgoing email. Google still allows application passwords that bypass MFA.

You could also use a service like Mailgun, Sendgrid, or get a cheap cPanel hosting account with a custom domain (I pay around US$20 a year with DomainRacer). The former two have have a free tier of <= 100 emails a day.

1 Like