On top of enea recommendation you might want also to check:
I am attempting to setup the stmp for scan to email but no matter what I try it does not work. The error I receive is One or more of the addresses are invalid.Any suggestions?
Settings I am using
smtp.gmx.com port 25
User name and password of email address