[4.2] Fixed Mail Transport Send Functions

Fixes #4403 and a bit of indentation too.