Verifying From header before send mail

Trying to solve #3313 
    $lang['email_no_from'] = 'Cannot send mail with no "From" header.';