> No errors will be reported even if I'll put a wrong e-mail address, like
> [EMAIL PROTECTED]

The email system is a lot like the snail mail system -- if you drop a letter
with a bad address into a mailbox, you don't find out right away. The
mailbox doesn't spit it out. Email works the same way -- if you tell mutt to
send a message to [EMAIL PROTECTED], it successfully sends that message off for
delivery. It's not until the mail system tries to deliver it (possibly days
later) that the address is determined to be invalid.

> Only if I'll put something very bad like zzzzzzzzzzz it will return an error
> but $? will still be =0.

"zzzzzzzzzzzz" is a valid email address -- mutt interprets that as
zzzzzzzzzzz@localhost. Or perhaps @ the value of the "hostname"
variable. Again, it's not until a delivery attempt is made that the invalid
address is uncovered.


-- 
Mike Schiraldi
Verisign Applied Research

smime.p7s

Reply via email to