Permalink
Browse files

Update examples/basic.php

  • Loading branch information...
1 parent 99e5809 commit ebc85d704f8f2b62e2c4cca6a780571e654fb91c @haoqis haoqis committed Jan 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/basic.php
View
@@ -17,7 +17,7 @@
if (PEAR::isError($e = $smtp->connect())) {
die($e->getMessage() . "\n");
}
-
+$smtp->auth('username','password');
/* Send the 'MAIL FROM:' SMTP command. */
if (PEAR::isError($smtp->mailFrom($from))) {
die("Unable to set sender to <$from>\n");

0 comments on commit ebc85d7

Please sign in to comment.