Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
Bronze

EEM email authentication

i'm configuring EEM that sends email but our mail server require authentication with username@domain.com

action 5.0 mail server "username@domain:password@mail-server" to "email" from "email" subject "hi subject" body "hi"

thanks

3 REPLIES

EEM email authentication

Hi,

I'm not sure if that also works with EEM but the first thing which comes to my mind is escaping the special characters with backslash:

username\@domain\.com:password@mail-server

It's worth a try, I guess.

HTH

Rolf

Bronze

EEM email authentication

Hi,

I tried the followings:

action 5.0 mail server "username\@domain\.com:password@mail-server" to "email" from "email" subject "hi subject" body "hi"

action 5.0 mail server "username\@domain.com\:password@mail-server" to "email" from "email" subject "hi subject" body "hi"

but failed "error in connecting to SMTP server"

Thanks

Cisco Employee

EEM email authentication

If your email username contains an '@' then you will not be able to use applets.  You must convert to Tcl.  This is a known bug.  You can use the script at http://www.marcuscom.com/convert_applet/ to convert the policy to Tcl.

682
Views
5
Helpful
3
Replies
CreatePlease to create content