Permalink
Browse files

Merge pull request #1 from haoqis/patch-1

Update examples/basic.php
  • Loading branch information...
2 parents 99e5809 + ebc85d7 commit 60014c40ced4cd8e7d68cd22fd29996a0fc81ec6 @jparise jparise committed Jan 17, 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 60014c4

Please sign in to comment.