Welcome Guest, Not a member yet? Register   Sign In
SMTP with Exchange 2003
#1

[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.
#2

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

Thanks !




Theme © iAndrew 2016 - Forum software by © MyBB