Reporting

Error sendemail

mamaral
Path Finder

good morning.
So, I'm receiving an authentication error when we're trying to use sendeail...
Could some one please,help me ?!

command="sendemail", SMTP AUTH extension not supported by server. while sending mail to:someone@domain.com

Tags (2)
0 Karma

claudio_manig
Communicator

Its quite an old post but i faced the same error a while ago-
It seems that if you use auth params within the email settings you should specify the server=yourmailserver:port parameter within your sendemail search command. The sendemail command uses the localhost on default.

0 Karma

mamaral
Path Finder

please, tell me how can i do that ?!

0 Karma

wlawrence
New Member

Is regular mail working i.e when you use mail from the command line?

0 Karma

mamaral
Path Finder

so, I did it that - clear them out - and got the same error.

0 Karma

mamaral
Path Finder

by the way, i have already checked the boxes TSL and SSL but the error persists...
i have tried to change the sendemail.py, adding a call to "smtp.login(username, password)" bellow of "smtp = smtplib.SMTP(serverURL)" ... and also failed.

0 Karma

mw
Splunk Employee
Splunk Employee

Are you sure that the server accepts credentials? What happens if you clear them out (because the server appears to be telling you that it won't take them)?

0 Karma

mamaral
Path Finder

yes! i have both filled...
thanks for answered me.

Amaral

0 Karma

mw
Splunk Employee
Splunk Employee

Did you enter a username and password on the email setup page, or leave those empty?

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...