SMTP login
Posted: Wed Apr 18, 2007 10:07 pm
How on earth can i not find the area to set the smtp username and pass?
Help for the tired, extremely tired noob.
Thanks
Help for the tired, extremely tired noob.
Thanks
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$smtp =& new Swift_Connection_SMTP("...");
$smtp->setUsername(" ... ");
$smtp->setPassword(" ... ");
$swift =& new Swift($smtp);What code do you have so far? You don't have to modify any of the Swift files so you'll just need to modify whatever you have so far. Where you call "new Swift", just replace that with those lines of code ammended to fit your needs. If you have any trouble just post your code.jcbodyworks wrote:now unto which file do I paste this code and where within that file?