surot526 Posted September 9, 2011 Share Posted September 9, 2011 $config = Array( 'protocol' => 'smtp', 'smtp_host' => 'ssl://smtp.gmail.com', 'smtp_port' => '465', 'smtp_user' => '[email protected]', 'smtp_pass' => 'removed' ); but I can't send that email... It show error like this... A PHP Error was encountered Severity: Warning Message: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) Filename: libraries/Email.php Line Number: 1673 A PHP Error was encountered Severity: Warning Message: fwrite(): supplied argument is not a valid stream resource Filename: libraries/Email.php Line Number: 1816 Link to comment https://forums.phpfreaks.com/topic/246801-code-igniter-not-sending-email-using-smtp/ Share on other sites More sharing options...
Pikachu2000 Posted September 9, 2011 Share Posted September 9, 2011 I've edited out your SMTP username and password, but you should change the password anyhow. After all, it was on the internet for a few hours . . . Link to comment https://forums.phpfreaks.com/topic/246801-code-igniter-not-sending-email-using-smtp/#findComment-1267484 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.