hi i want to use sendmail spl command but it give me below error
command="sendemail", (535, '5.7.3 Authentication unsuccessful') while sending mail to: email@example.com
my spl command:
index=_internal | head 5 | sendemail to="firstname.lastname@example.org" server=mail.server.com subject="Here is an email from Splunk" message="This is an example message" sendresults=true inline=true format=raw sendpdf=true
FYI:email setting from web server configuration already set correctly, and i test it with alert and send email correctly, but when i use sendmail spl command not work!
also i check config file it set correctly:
This is a response from the server you're trying to use to send mail through. For some reason it's not letting you do it. You should ask the admin of that server why.