fixing mail.smtp.localhost error by JavaMail server on production host.
Merge pull request #1 from krishnarangavajhala/patch-1

fixing mail.smtp.localhost error by JavaMail server on production host.