Unable to find the socket transport "tls"

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
User avatar
feinstimmer
Forum Newbie
Posts: 19
Joined: Thu Dec 07, 2006 8:36 am

Unable to find the socket transport "tls"

Post by feinstimmer »

Hi, i am new with PHP and MySQL and try to learn.I am making small registration and activation script and try to send mail with Swift 2.1.1.7. through g-mail.Running on WAMP5.1.6.6 installed local.I get this error:
Connection to the given MTA failed. The Connection Interface said: Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP?

What this error actually means and in which config file i have to enable it?
I looked in PHP.ini but didn't find enuthing with "tls".
Hope this is enough info.Thank you in advance!!
User avatar
feinstimmer
Forum Newbie
Posts: 19
Joined: Thu Dec 07, 2006 8:36 am

Post by feinstimmer »

On other hand i have no problem sending mail using basic_smtp.php.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I'm not 100% with the process for enabling it in windows but basically (under linux) PHP needs to be compiled with OpenSSL for it to work. I guess in windows there is some sort of static binary to provide SSL support. Anybody? :)
Post Reply