293 questions
0
votes
0
answers
156
views
Sending mail using smtp-mail.outlook.com error Authentication unsuccessful, basic authentication is disabled
I know there are many questions and answers about this subject.
But I didn't find any solution.
The code is quite simple, I am only sending an email via smtp-mail.outlook.com.
For a while we are ...
0
votes
1
answer
186
views
How to set up SonarQube SMTP without authentication?
We are using SonarQube server v2025.1.1. In the past we upgraded from former LTA versions. I'd guess the first such LTA version was 7.9.
Our SonarQube instance and our SMTP server both runs on a local ...
0
votes
0
answers
106
views
Error when trying to send emails with outlook using nodemailer
I am trying to send outlook emails with nodemailer and I am getting this error:
Error: Invalid login: 535 5.7.3 Authentication unsuccessful [BN9PR03CA0154.namprd03.prod.outlook.com 2025-02-13T18:17:...
0
votes
1
answer
1k
views
Authenticating to Microsoft 365 SMTP servers via OAuth2 only works for users without MFA
I am trying to migrate a legacy application that sends emails via SMTP to use OAuth2 tokens instead of the classic username/password combination.
I'm authenticating against Microsoft 365, but I have a ...
1
vote
0
answers
322
views
smtplib.SMTPAuthenticationError: (535, b'5.7.139 Authentication unsuccessful, the user credentials were incorrect')
I am trying to integrate SMTP Email Service of Outlook in my project and And I am getting the above mentioned Error in the title. I am trying to trigger Automated email after certain operation ...
3
votes
0
answers
1k
views
Error "535 5.7.139 Authentication unsuccessful, basic authentication is disabled" OR "incorrect credential error"
When I'm performing scan-to-email from the printer encountering the below error
I get the same error "535 5.7.139 Authentication unsuccessful, basic authentication is disabled" or "...
0
votes
1
answer
122
views
Basic Authentication removed by Microsoft recently. Is there another way an Oracle app can use SMTP from a Hotmail account?
I'm using Oracle 21.C. I have been using Oracle's UTIL_SMTP for years to send mailings from a Hotmail account. From what I understand, Microsoft recently sunset "Basic Authentication" for ...
0
votes
1
answer
70
views
Django SMTPAuthenticationError when using the same variable name for EMAIL_HOST_PASSWORD in .env and settings.py
I am working on a Django project where I use Gmail for email services. I have the following configuration in my .env file:
[email protected]
EMAIL_HOST_PASSWORD=password
And in my ...
0
votes
0
answers
42
views
Suddenly receivers-email ID doesn't receive any Email
I have developed a php application on a Linux server, everything works ok from months,the application work okay and send emails via a button to customers(receivers), Suddenly, I can't send any email ...
0
votes
0
answers
148
views
Is it possible to implement smtp Oauth2 without generation application or without client id and client secret
I Want to implement SMTP Oauth2 without generation application or without client id and client secret.
Does it possible ?
I have username and password based on that can i get token and implement ...
1
vote
0
answers
150
views
Failed to start TLS: 421 Local Error, closing transmission channel
Title: Error: Failed to start TLS when sending OTP email using Mailtrap in Go
Description:
I'm working on implementing OTP email verification for user sign-in in my Go application using Mailtrap as ...
0
votes
1
answer
2k
views
Office365 SMTP Mail Error on Auth: 535 5.7.139 Authentication unsuccessful. (Works fine locally) [duplicate]
We are using Office365 business basic. We are using one of our licensed account for SMTP email to send main to our users (outsiders). Our smtp client is written on GO lang. The service was working ...
2
votes
1
answer
86
views
Authentication failure for AWS SMTP on Android 64
I have a Delphi 11 FMX app. Until recently I was using TLS 1.0 to connect to AWS SMTP. When I switched to TLS 1.2, Win32, Win64 and Android 32 continued to work correctly, but on Android 64 I am ...
1
vote
0
answers
218
views
GoogleAPI service account OAuth2 authentication fails with 'Syntax error'
CONTEXT:
Sending mail SMTP via Google API php ‘Client’ interface and smtp.gmail.com gateway using a service account (i.e. with 2-legged OAuth2 flow).
PROBLEM: Authentication with an access token ...
0
votes
0
answers
177
views
How to configure SMTPServer options with pem key and cert?
The guidance here: https://nodemailer.com/extras/smtp-server/ ... indicated that I should configure my SMTP server (in production) like so:
Example code from nodemailer site:
const server = new ...
0
votes
1
answer
683
views
why SMTP error?. when i run on localhost it works. but when i put on my server SMTP error. can someone explains?
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
use PHPMailer\PHPMailer\SMTP;
//Load Composer's autoloader
require 'vendor/autoload.php';
function send_password_reset($get_name,...
1
vote
2
answers
2k
views
Trying to authenticate with smtp.gmail.com via XOAUTH2
I'm using PHPMailer to authenticate via XOAUTH2 with smtp.gmail.com in order to send an email. However, I'm getting an authentication error with an inadequate response:
2023-11-17 06:32:29 SERVER -&...
0
votes
1
answer
401
views
Trying to send email using outlook credentials in python
outlook_server = 'smtp-mail.outlook.com'
outlook_port = 587
# Your email credentials
username = ''
password = ''
# password = 'Alpine1400!'
# Create a connection to the SMTP server using SSL
server = ...
2
votes
1
answer
1k
views
Scopes confusion using SMTP to send email using my Gmail account with XOAUTH2
My application has an existing module I use for sending emails that accesses the SMTP server and authorizes using a user (email address) and password. Now I am trying to use Gmail to do the same using ...
0
votes
0
answers
218
views
OAuth2 MS and Google differences regarding public or confidential client
I implemented OAuth2 for SMTP for two providers Google and Microsoft.
It works so far. The only difference is that if I call Microsoft, I'm not allowed/forced to submit a client secret. If I use ...
-2
votes
1
answer
183
views
Set password to access postfix running on macos
I have configured postfix to act as a relay on my Mac Laptop.
I want to now enforce an authentication on postfix so that any client trying to connect on port 25 needs to authenticate first. Is this ...
0
votes
2
answers
565
views
SMTP with google xoauth2 results in error {"status":"400","schemes":"Bearer","scope":"https://mail.google.com/"}
I know that others already posted similar questions, but all the tips there did not help. I try to send with SMTP using a google account and XOAuth2. I use libcurl 7.71.1 on Windows.
To get the bearer ...
1
vote
1
answer
889
views
Sending and reading email using python
I want to send and read emails using Python. For this purpose I used to use SMTP and IMAP. To connect using them I would enabled access to "Less secure app access" then login using username ...
0
votes
0
answers
196
views
SMTP Gmail Codeigniter 3
I have a problem with smtp gmail using codeigniter 3, I created this code in the controller folder with the file name Auth.php. so when the user clicks the register button a verification email will be ...
0
votes
1
answer
267
views
Why is my Password notification script not sending the email?
I have this script and when i run it runs fine find the users and when they are about to be email the script try to send but it errors out: The SMTP server requires a secure connection or the client ...
0
votes
0
answers
27
views
How to automate Outlook using Token authorization using Selenium Java? Since using SMTP Port its not working due to Changes made by Micro soft Team [duplicate]
Due to authorization, i.e. 535 5.7.139 Authentication fails, SmtpClientAuthentication is deactivated for the Mailbox, SMTP authentication will not be used at this time in the Organisation, according ...
1
vote
1
answer
4k
views
Failed to authenticate on SMTP server when using office 365 e-mail with Laravel on ubuntu with lemp stack on digitalocean
I have setup a Laravel application on an Ubuntu droplet at DigitalOcean. Now I'm trying to send out e-mails using an office 365 mail account. However I get the following error:
Failed to ...
2
votes
1
answer
1k
views
Does SMTP XOAUTH2 work when sending email using Google Services Account. It always returns: 555 5.5.2 Syntax error, goodbye. iy1-8plb.26 - gsmtp
I have the following configuration to acquire an access token using Google's Service Account, use the access token to OAUTH2 authenticate and connect via SMTPTransport.
These are the mail session ...
1
vote
1
answer
1k
views
Firebase Trigger Email Stuck at Processing or Fails with ssl3_get_record: wrong version
I'm trying to set up trigger emails through Firebase. I've read other Stackoverflow posts which led me to 1) enable SMTP authentication within my mailbox settings 2) try changing the port to 587 to ...
1
vote
2
answers
9k
views
Microsoft 365 Business Basic SMTP Authentication Failure
I have a custom Microsoft 365 business email domain and an email account of [email protected]. Using the Python code below I am not able to send an email to another user due to an SMTP ...
3
votes
1
answer
7k
views
SQL Server Database Mail with "Modern" authentication to connect to Microsoft 365 / Exchange
In Database Mail, I find this statement:
Database Mail is an enterprise solution for sending e-mail messages from the SQL Server Database Engine or Azure SQL Managed Instance. Your applications can ...
0
votes
2
answers
1k
views
Can't authenticate with SMTP (but IMAP works) Microsoft 365
I'm trying to create an '[email protected]' email account, which will be used to send out email alerts from my code. Since the days of 'basic authentication' are done, I'm implementing this with ...
2
votes
1
answer
2k
views
SmtpClient not working after setting up app password and 2-factor authentication enabled
My CreateUserWizard sends an email when I press a button. The email is send via app password as follows
Protected Sub NewUserWizard_SendingMail(ByVal sender As Object, ByVal e As System.Web.UI....
0
votes
2
answers
2k
views
How to send mail using O365 mailbox without user interaction via Azure application registration
As we know, Microsoft has stopped basic authentication for all of its services. Now we need to use modern authentication.
A few years ago, I developed (in C#) a service that ran on a Windows server ...
0
votes
0
answers
2k
views
smtp: server doesn't support AUTH
Hi i am trying to develop a simple SMTP application using golang, but my smtp server doesnt support Auth it doesnt require a user name or password. But in Go lang it uses plain auth authentication ...
3
votes
0
answers
916
views
Gmail SMTP Authentication Error when using App password with workspace domain alias
I want to be able to use my Google Workspace email alias when automating email sending using yagmail and gmail's SMTP server.
I have set the default "Send Email As" address from the main ...
0
votes
2
answers
5k
views
SQL 2019 Database Mail Setup to relay from an Office 365 Address
Summary:
My organisation moved from Exchange to Office 365
For years the SQL Database Mail has used Local SMTP (with a spf record to stop mail being flagged as junk)
The instant that Office 365 was ...
0
votes
1
answer
301
views
bcc emails are not delivered - Drupal 9 SMTP
Below is my code to send out email using plugin.manager.mail in Drupal.
$params['context']['subject'] = t('[@site] A new event has been created');
$params['context']['message'] = $mode_info . '' .
...
0
votes
1
answer
1k
views
If authentication is required to send SMTP messages, how do different mail servers send messages to each other?
To learn about email and SMTP, I wrote a basic SMTP client using sockets to push an email to my outlook account, following an example from a textbook.
I ran into a hiccup though, when the outlook mail ...
0
votes
1
answer
4k
views
How do I to give my web project access to my Gmail account?
I am trying to adapt to Google's change in smtp policy on 5.30.22 that prevents 3P apps to have access to gmail account. I want to give my web project hosted on heroku access to be able to login ...
1
vote
3
answers
1k
views
Set Django send_mail backend host with Gmail
I have been trying search many files to set send_mail backend with Gmail host. Here is my settings:
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
EMAIL_HOST = 'smtp.gmail.com'...
0
votes
1
answer
960
views
How Can I Send An Email Directly From An MX Server?
I am aware there are many questions similar to this. However, being that certain standards and security protocols are constantly evolving, the solutions to this question that were valid just a year ...
4
votes
1
answer
4k
views
Office 365 XOAUTH2 for SMTP on native clients 535 5.7.3 Authentication unsuccessful
I try to send mails via the smtp of office 365. I setup an app registration for native client in azure and set the permission SMTP.Send. But when I connect I've been able to get a token, but the ...
0
votes
1
answer
838
views
Mail sending issue in java [duplicate]
I've setup a Java mail code in my application which sends email, used spring-mail. Suddenly I'm getting this error.
o.s.b.actuate.mail.MailHealthIndicator : Mail health check failed
javax.mail....
0
votes
0
answers
140
views
Authentication in email forwarding between SMTP servers
I am writing a Mail Relay Server in PHP for Newsletter mailings.
This server encodes all links in the e-mails so that they point to an accompanying website for tracking (click count only) and ...
0
votes
1
answer
130
views
Why is CDOSYS sending me a type 3 message with a 56 byte response?
I have some really old code that I'd like to get working with the CDO.Message object. Many years ago, I think this code did work (Windows 98?), but then it didn't work starting with Windows XP (now I'...
0
votes
1
answer
400
views
Authentication based on email "from address"
I have an application that reads incoming email received by a specific email address. The application then does business transactions based on the content of email.
Currently the application only does ...
0
votes
0
answers
29
views
Python SMTP doesn't work when run on a server [duplicate]
I have a simple python program that simply sends a simple email.
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.base import MIMEBase
...
0
votes
0
answers
209
views
How do I write my own challenge_auth method for aiosmtpd?
I'm trying to connect a wildlife camera to my SMTP server but it keeps dropping the connection after being asked for it's username. I've verified that this server works with other wildlife cameras and ...
1
vote
1
answer
1k
views
TLS connection to smtp.gmail.com isn't working
I'm trying to figure out why the TLS connection to smtp.gmail.com isn't working, the code includes import ssl and I did the HELO before and after the STARTTLS command and then I wrapped the ...