Fatal Error

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
meddiecap
Forum Newbie
Posts: 8
Joined: Tue Jul 01, 2008 5:14 am

Fatal Error

Post by meddiecap »

So, this is my error:

Fatal error: Uncaught exception 'Swift_ConnectionException' with message 'The SMTP connection failed to start [localhost:25]: fsockopen returned Error Number 10060 and Error String 'Een verbindingspoging is mislukt omdat de verbonden party niet correct heeft geantwoord na een bepaalde tijd, of de gemaakte verbinding is mislukt omdat de verbonden host niet heeft geantwoord. '' in F:\wamp\www\swiftmailer\lib\Swift\Connection\SMTP.php:309 Stack trace: #0 F:\wamp\www\swiftmailer\lib\Swift.php(216): Swift_Connection_SMTP->start() #1 F:\wamp\www\swiftmailer\lib\Swift.php(101): Swift->connect() #2 F:\wamp\www\swiftmailer\index.php(8): Swift->__construct(Object(Swift_Connection_SMTP)) #3 {main} thrown in F:\wamp\www\swiftmailer\lib\Swift\Connection\SMTP.php on line 309

The bold part reads something like:
A connectionattempt has failed because the connected party did not answer correctly within a certain time, or the connection has failed because the host did not answer.

I'm using wamp server, and I'm new to Swiftmailer. And I have no idea what this all means, although I'm fairly sure that localhost is correct.

Hopefully there's someone who can help.

Ty,
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Fatal Error

Post by Chris Corbyn »

Sounds like a firewall rule is blocking the connection.
Post Reply