Simply check what is entered in you mail client's configuration as outgoing mail server (or similar). Use that one for the module. "my.mail.server." is wrong for sure. localhost will be wrong too on windows, I guess.
$\=~s;s*.*;q^|D9JYJ^^qq^\//\\\///^;ex;print