Here's something else that's interesting - whatever line the "libSmtpConnect" is on in the button's mouseUp handler is the same line that is being returned as the error.