When the email address is invalid the message displayed is "Invalid email.Invalid email.". I know that the message has …