CodeIgniter Forums
Sending mail through ssl running php under IIS - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Sending mail through ssl running php under IIS (/showthread.php?tid=58949)



Sending mail through ssl running php under IIS - El Forum - 08-07-2013

[eluser]GwO[/eluser]
Hi, I'm running my application on W2K8 Server (no choice). I've been trying to use EMAIL class to send emails on a newsletter system with no success. I get this error:

Severity: Warning

Message: fsockopen(): unable to connect to ssl://my.server.com:465 (Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder. )

Filename: libraries/Email.php

Line Number: 1689

I've tested my code on my development pc under wamp server and it works fine!

Any help would be appreciated!
Thanks in advance!


Sending mail through ssl running php under IIS - El Forum - 08-08-2013

[eluser]GwO[/eluser]
Anybody?


Sending mail through ssl running php under IIS - El Forum - 08-09-2013

[eluser]ivantcholakov[/eluser]
http://ellislab.com/forums/viewthread/236889/

Could you try the solution I've proposed there? It is about using PHPMailer with the same API as of CodeIgniters Email class.

I would like to know whether it works or not.