Verifying From header before send mail

Signed-off-by: Michael Granados <michaelgranados@gmail.com>
Making required changes

Signed-off-by: Michael Granados <michaelgranados@gmail.com>
Removing empty lines

Signed-off-by: Michael Granados <michaelgranados@gmail.com>
Merge pull request #3319 from dgmike/issue-3313

Verifying From header before send mail