Enclosed smtp client calls with using statements.