Is't possible to user STARTTLS on version 3

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
YvesTan
Forum Newbie
Posts: 8
Joined: Thu Mar 06, 2008 1:54 pm

Is't possible to user STARTTLS on version 3

Post by YvesTan »

Hello,

Is't possible to use STARTTLS on version 3 ? I've try to change handshake method on Swift.php but I think swiftmailer can't understand the response...

Code: Select all

 
Fatal error: Uncaught exception 'Swift_BadResponseException' with message 'Expected response code(s) [250] but got response [220 2.0.0 Ready to start TLS]' in /usr/local/sbin/sendnews/swiftmailer/lib/Swift.php:250
 
Thanks !
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Is't possible to user STARTTLS on version 3

Post by Chris Corbyn »

I'm afraid not. PHP didn't have the functionality when I wrote it ;)
Post Reply