Stop email sending when Login and/or Code not entered