Page 1 of 1

Hello

Posted: Mon Feb 02, 2009 2:53 am
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

Re: Hello

Posted: Mon Feb 02, 2009 5:22 am
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)

Re: Hello

Posted: Mon Feb 02, 2009 5:49 am
by aneuryzma
thanks a lot