Where do i input my smtp username/pass for swift for php4?
Thanks
swift for php4
Moderators: Chris Corbyn, General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Someone needs to read the documentation
-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm
Yeah i did.. I got it, i guess i'm just confused on what this error means
Uncaught Error of type [swift_connection_exception] with message [The SMTP connection failed to start [mail.kcchristians.com:25]: fsockopen returned Error Number 0 and Error String 'Success']
@0 swift::swift() in /home/drdennisja/domains/drl/public_html/newsletter/send_newsletter.php on line 100
@1 swift::connect() in /home/drdennisja/domains/d/public_html/newsletter/swift/lib/Swift.php on line 111
in /home/drdennisja/domains/drlacyjames.com/public_html/newsletter/swift/lib/Swift/Errors.php on line 99
Uncaught Error of type [swift_connection_exception] with message [The SMTP connection failed to start [mail.kcchristians.com:25]: fsockopen returned Error Number 0 and Error String 'Success']
@0 swift::swift() in /home/drdennisja/domains/drl/public_html/newsletter/send_newsletter.php on line 100
@1 swift::connect() in /home/drdennisja/domains/d/public_html/newsletter/swift/lib/Swift.php on line 111
in /home/drdennisja/domains/drlacyjames.com/public_html/newsletter/swift/lib/Swift/Errors.php on line 99
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
That's a known bug with fsockopen() on certain servers. It's a permissions problem which causes it, but beyond Swift's control. fsockopen() cannot fully establish a connection so Swift cannot continue. What host are you on? I'd also double check that there's really an SMTP server running on mail.kcchristians.com too.
Tell you anything? 
Code: Select all
ping mail.kcchristians.com
ping: cannot resolve mail.kcchristians.com: Unknown host