Add Exception managment for SMTP and URLIb