How on earth can i not find the area to set the smtp username and pass?
Help for the tired, extremely tired noob.
Thanks
SMTP login
Moderators: Chris Corbyn, General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
It's the bold section called "SMTP Authentication" in the Connections section of the wiki:
http://www.swiftmailer.org/wikidocs/v3/smtpauth
It's as simple as:
http://www.swiftmailer.org/wikidocs/v3/smtpauth
It's as simple as:
Code: Select all
$smtp =& new Swift_Connection_SMTP("...");
$smtp->setUsername(" ... ");
$smtp->setPassword(" ... ");
$swift =& new Swift($smtp);-
jcbodyworks
- Forum Newbie
- Posts: 2
- Joined: Wed Sep 05, 2007 1:29 am
where
now unto which file do I paste this code and where within that file?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: where
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?