11-23-2024 08:15 PM - edited 11-23-2024 08:15 PM
Hello,
I have a Cisco ASA 5505X at home. Is it possible to configure the EEM to send e-mail from my gmail e-mail? I've found syntax that shows EEM can send e-mail but no examples with Gmail specifically.
Cisco EEM Basic Overview and Sample Configurations
action 4.0 mail server "192.168.1.1" to ".engineer@cisco.com." from ".EEM@cisco.com." subject ".ISP1_Interface_fa1/0_SHUT." body "Current users $_cli_result"
action 1.2 mail server "$_email_server" to "$_email_to" from "$_email_from" subject "Circuit Down" body "Primary Internet Circuit Down."
Looking online, people use "smtp.gmail.com" to send e-mail but some form of authentication is required. The two code snippets above don't provide any means to authenticate (app password or otherwise).
Thanks in advance!
Rob
Solved! Go to Solution.
11-24-2024 12:12 AM
i had some issue same - so i need to setup local relay sendmail on Linux to send emails.
you can try below removing some setting of your gmail account(gmail become more secured now compare to old days due to lot of spams and bots)
if that is not work, try any other email (free one which support relay if you rely on Public email) - if you have own SMTP corporate you can setup relay and allow device IP as trusted to send emails.
11-24-2024 12:12 AM
i had some issue same - so i need to setup local relay sendmail on Linux to send emails.
you can try below removing some setting of your gmail account(gmail become more secured now compare to old days due to lot of spams and bots)
if that is not work, try any other email (free one which support relay if you rely on Public email) - if you have own SMTP corporate you can setup relay and allow device IP as trusted to send emails.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide