Fixed smtp send mail.
Merge pull request #2356 from jonasmello/master

Fixed smtp send mail.