cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1754
Views
5
Helpful
3
Replies

EEM email authentication

a.hajhamad
Level 4
Level 4

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 3

Rolf Fischer
Level 9
Level 9

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

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

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.