Feb 14, 2012 03:58 PM|superguppie|LINK
Then I am guessing there was nothing in txtFrom. On emails the From field is mandatory.
Typically, this is taken care of using RequiredValidator. This will give the user a warning when the field is left empty, so it can be entered before actually doing anything.