2018-11-12 14:29:08,776 +0000 ERROR sendemail:137 - Sending email. subject="Splunk Alert: Errors in develop", results_link="https://localhost:8000/app/search/@go?sid=rt_scheduler__admin__search__RMD58e26482826eced90_at_1542024571_26.426", recipients="[firstname.lastname@example.org']", server="localhost" 2018-11-12 14:29:08,776 +0000 ERROR sendemail:458 - [Errno 99] Cannot assign requested address while sending mail to: email@example.com
[email] auth_password = XXX auth_username = firstname.lastname@example.org hostname = localhost mailserver = smtp.gmail.com:465 pdf.header_left = none pdf.header_right = none use_ssl = 1
what configuration am I missing? errno 99 is EADDRNOTAVAIL , not clear what is not available, is it the server="localhost" in the error log? where should I set it?
sending mail from query works fine:
... | sendemail to="email@example.com" format=raw sendresults=1 footer="Sent from Splunk." from="SplunkAlerts" subject="Splunk Alert" message="The following Splunk Alert has been fired:"
@reallyliri If your problem is resolved, please edit your answer to explain the edits you made to resolve it. Then accept the answer so future readers with the same problem can find your solution.