CodeIgniter Forums
SMTP with Exchange 2003 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: SMTP with Exchange 2003 (/showthread.php?tid=46408)



SMTP with Exchange 2003 - El Forum - 10-31-2011

[eluser]Unknown[/eluser]
Hi all,
I have a problem sending email through Email.php versus an Exchange 2003 server.
When I configure the server like this:

Code:
$this->load->library('email');
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'my.exchange.server';

Runtime execution fails during the second "_get_smtp_data()" execution (the HELLO command).
I don't get any error, it just keep running on the "fgets($this->_smtp_connect, 512)", and after a while I get the "Fatal error: Maximum execution time of 300 seconds exceeded in D:\xampp\htdocs\directory\system\libraries\Email.php on line 1838" error.

I tried to run a Telnet from the server where codeigniter is installed, and I'm able to send email from there.

If I change the server in the config parameters, using a linux email server, it works fine.

Any suggestion?
Thanks for your time,
Davide B.


SMTP with Exchange 2003 - El Forum - 01-30-2013

[eluser]Unknown[/eluser]
I had the exact same problem with an smtp servor from Ovh,
BatMen solved it.

Thanks !