Hello

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
aneuryzma
Forum Contributor
Posts: 106
Joined: Sat May 17, 2008 7:03 am

Hello

Post by aneuryzma »

I want to send an email using Swift Mailer but I receive the following error:
The SMTP connection failed to start [tls://smtp.telfort.nl:465]: fsockopen returned Error Number 60 and Error String 'Operation timed out''.

Code: Select all

$smtp = new Swift_Connection_SMTP("smtp.telfort.nl", Swift_Connection_SMTP::PORT_SECURE,
  Swift_Connection_SMTP::ENC_TLS);
Is it maybe because I should use the gateway ? How ?
smtp.telfort.nl
(10.0.0.1 as a gateway).
thanks
xdecock
Forum Commoner
Posts: 37
Joined: Tue Mar 18, 2008 8:16 am

Re: Hello

Post by xdecock »

does the smtp server support TLS?

if not, just remove Swift_Connection_SMTP::PORT_SECURE, Swift_Connection_SMTP::ENC_TLS

And for the gateway don't think so, gateways are at tcp-ip level, not session level (in iso layers)
aneuryzma
Forum Contributor
Posts: 106
Joined: Sat May 17, 2008 7:03 am

Re: Hello

Post by aneuryzma »

thanks a lot
Post Reply