swiftmailer / ssl connection / self-signed certificates

5 posts by 2 authors in: Forums > CMS Builder
Last Post: September 22, 2015   (RSS)

By ht1080z - September 14, 2015 - edited: September 17, 2015

Dear iTools Team,

I have a very long ticket history with my host on using on our client server (ngnix / php 5.6) with cmsBuilder 2.65 and enabling SMTP mail sending with SSL.

Looks like i have problem related with:

http://stackoverflow.com/questions/26971712/swiftmailer-connection-established-error

https://github.com/swiftmailer/swiftmailer/issues/544

https://github.com/swiftmailer/swiftmailer/issues/571

and there is some fix in the latest swiftmailer v5.x.x. cmsBuilder currently using the v4.3.0.

Is there any option to upgrade the swiftmailder somehow to fix my issue?

----------------------------------

PS: Until now i'am running without HTTPS (SSL) on my domain. In the next days i'll finish to setup the SSL and give a new try to enable SMTP SSL sending from cmsB.

Best regards,
Karls

Hi Dave,

I sent you an email.

Karls

Hi Dave,

Thank you for the SwiftMailer upgrade files and change instructions.

I finished the SSL implementation on the server and updated the mailer.

Everything works now OK with PHP 5.6 and SMTP with SSL through SwithMailer 5.4.1.

Karls

By Dave - September 22, 2015

Thanks Karls, 

We'll include this version in the next release of CMSB.  And for anyone else who wants to apply it sooner, here's the instructions:

I've attached a zip of /3rdParty/SwiftMailer5/ folder, unzip it to /3rdParty/ 

Then in /lib/common.php search for: /Swift

And change this:
require_once(CMS_ASSETS_DIR."/3rdParty/SwiftMailer/swift_required.php");

to this:
require_once(CMS_ASSETS_DIR."/3rdParty/SwiftMailer5/swift_required.php");

If you have any problems, just remove the 5 and it will use the old folder.

Thanks!

Dave Edis - Senior Developer
interactivetools.com
Attachments:

SwiftMailer5.zip 212K