Support ⇒ Troubleshootings ⇒ emailer.php - includes gmail patch on page 2 ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexTroubleshootings

emailer.php - includes gmail patch on page 2 Reply to topic


Find out what type of mail server you have SMTP? PHP Mailer? And set it up that way.

Lead Theme Designer - WebSiteGuru Designs

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1


Wha?

Were trying to use the SMTP mailer, and we have set it to the correct SMTP addrress, and Correct username / password.

But it cannot connect to the SMTP server, which it was able to do on the old server, only it was giving off different errors on the old server.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
DebianLenny / Apache2.2.9 / MySQL5.0.51a-24+lenny3-log / PHP5.2.6-1+lenny8 / Dragonfly 9.2.1


includes\classes\smtp.php * Warning line 105: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.googlemail.com:465 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?)

same thing with tls.

includes\classes\smtp.php * Warning line 105: fsockopen() [function.fsockopen]: unable to connect to tls://smtp.googlemail.com:465 (Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP?)

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
DebianLenny / Apache2.2.9 / MySQL5.0.51a-24+lenny3-log / PHP5.2.6-1+lenny8 / Dragonfly 9.2.1


Read my replies.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


NanoCaiordo wrote
I'm asking you to try what I've posted, if you prefer no to do that its fine by me.

But if you do try what I've posted and you still get
"Warning line 105: fsockopen() [function.fsockopen]: unable to connect to smtp.googlemail.com:465 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?)"

then tell your host to enable ssl protocol in php.


I am now the server host, How the hell do i enable the ssl protocol in WAMPS?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
DebianLenny / Apache2.2.9 / MySQL5.0.51a-24+lenny3-log / PHP5.2.6-1+lenny8 / Dragonfly 9.2.1


admin.php?op=info&mods and look for OpenSSL support .. but I guess you wont find it.

If its missing:
search your php installation path for ext/php_openssl.dll and if exists
open php.ini and search for php_openssl,
if disabled enable it if missing add (where all the extensions are)
extension=php_openssl.dll
restart apache.

Note php_openssl.dll might have a different name eg: openssl.dll

If the dll is missing from %php_install_path%/ext then you better ask WAMPS or make you own one or pay for a good host.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


For wampserver, simply tick "php_openssl" in the PHP extensions list.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


YEAAAAAAAAAAAAAHAHHH!

Woo! I am so Funkin Happy Right now.

Thanks for all your help everyone in this thread.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
DebianLenny / Apache2.2.9 / MySQL5.0.51a-24+lenny3-log / PHP5.2.6-1+lenny8 / Dragonfly 9.2.1


Not a problem glad it works out. Very Happy

Lead Theme Designer - WebSiteGuru Designs

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1


Now, please update your Server Specs to reflex the changes. Wink

Lead Theme Designer - WebSiteGuru Designs

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1


Windows/WAMPS/Apache2.2.8 (Win32)/Mysql5.0.51b/php 5.2.6/ Dragonfly 9.0.6.1


Have done.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
DebianLenny / Apache2.2.9 / MySQL5.0.51a-24+lenny3-log / PHP5.2.6-1+lenny8 / Dragonfly 9.2.1


Good luck - you're gonna need lots of it using 9.0.6.1.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


lol, Trust me, from past experience, i would need a LOT more trying to update it.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
DebianLenny / Apache2.2.9 / MySQL5.0.51a-24+lenny3-log / PHP5.2.6-1+lenny8 / Dragonfly 9.2.1


Still! Good Luck!

Lead Theme Designer - WebSiteGuru Designs

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1


NanoCaiordo wrote
But after all its just a matter of protocols. The following is a quick alpha patch:

includes/classes/phpmailer.php from line 540
<snip>
Then in admin -> main settings -> smtp make sure you have
"Use SMTP server as opposed to PHP's mailer" - "Yes"


Please explain why in this example you're changing code in phpmailer.php, and then telling dragonfly not to even use phpmailer. I am completely, unequivocally confused.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Ubuntu, MySQL 5, PHP 5, DragonflyCMS 9.2.1

All times are UTC


Jump to: