I'm not sure what exactly you're trying to do by using notify. I've looked over the documentation for Net::SMTP and it doesn't really give an explanation for that option. If you're hoping to know whether or not it worked you may want to put in a loop, because if it works it returns a true boolean value, and if it doesn't it returns false.
- p u n k k i d
"Reality is merely an illusion,
albeit a very persistent one."
-Albert Einstein