Cisco Support Community
Community Member

Sending email using EEM to multiple recipients

I was looking for an article that explained how to send an email using Cisco's EEM to multiple recipients and couldn't find anything.  I figured it out for myself and figured I would share what I found.  Below is just a simple test script that sends an email to 2 recipients whenever the "Config" pattern is matched in Syslog:


event manager environment _email_to,

event manager applet test1
 event syslog pattern "Config"
 action 1.01 mail server "" to "$_email_to" from "" subject "Test1" body "This is a test!"
 action 1.02 syslog msg "Test email sent!"


Hope it helps someone else.

Everyone's tags (4)
Cisco Employee

Thanks for sharing your

Thanks for sharing your findings. It may surely help others.

Just a small suggestion, that you posted this as a question, and not as a document, which if you do will help others to find this more easily, being document.

You can try to move this as a Document or create another one as well.



-Thanks Vinod **Rating Encourages contributors, and its really free. **
Community Member

I was originally going to do

I was originally going to do this as a document, but discussions seem to be viewed a bit more and I thought a dialogue would be easier as a discussion versus a document.

CreatePlease to create content