--TEST-- Net_SMTP: SMTP Authentication --SKIPIF-- connect())) { die($e->getMessage() . "\n"); } if (PEAR::isError($e = $smtp->auth(TEST_AUTH_USER, TEST_AUTH_PASS))) { die("Authentication failure\n"); } $smtp->disconnect(); echo 'Success!'; --EXPECT-- Success!