News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

GMAIL and the SMTP feature

Started by Dave91, March 03, 2006, 06:30:39 AM

Previous topic - Next topic

JustTheGladiatoR

Quote from: Motoko-chan on September 11, 2006, 11:07:18 PM
If you don't mind me asking, why are you trying to use the gmail servers as the outgoing mail server for your forum?
Quote from: Lazybones on September 11, 2006, 10:01:21 PM
To use the GMAIL SMTP feature just do the following:

Found a way to fix this without altering SMF, it is rather simple.

1. Enable the SSL extension in PHP.ini
extension=php_openssl.dll

2. Use the following mail server settings in server setup
Mail Type: SMTP
SMTP server: ssl://smtp.gmail.com <-- ssl:// is case sensitive
SMTP port: 465
SMTP username: [email protected] <-- replace stars with account and domain name.

how can i enable the ssl extension on the server?
ForumAdmiN of ---> roma138.ilbello.com [nofollow]

青山 素子

PHP would need to be compiled with OpenSSL support for that module. If you don't have administrative access on the server, you'd need to ask the server administrator/your host.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


dirtylaundry

how do u change the PHP.ini file? where is it

thanks

青山 素子

It depends on how PHP was set up. Use a phpinfo script (What is phpinfo.php?) to see where it is. It will be shown in the "Configuration File (php.ini) Path" line.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


madagascar

Quote from: Motoko-chan on May 27, 2007, 03:26:44 PM
It depends on how PHP was set up. Use a phpinfo script (What is phpinfo.php?) to see where it is. It will be shown in the "Configuration File (php.ini) Path" line.

is there any way to alter the php.ini file to enable the ssl extension?

many thanks

madagascar

Quote from: Lazybones on September 11, 2006, 10:01:21 PM
To use the GMAIL SMTP feature just do the following:

Found a way to fix this without altering SMF, it is rather simple.

1. Enable the SSL extension in PHP.ini
extension=php_openssl.dll

2. Use the following mail server settings in server setup
Mail Type: SMTP
SMTP server: ssl://smtp.gmail.com <-- ssl:// is case sensitive
SMTP port: 465
SMTP username: [email protected] <-- replace stars with account and domain name.

I already add this:

;extension=eloader.dll

extension=php_memcache.dll

;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
;extension=php_mbstring.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_msql.dll
;extension=php_mssql.dll
;extension=php_mysql.dll
;extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_pdo.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
;extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_zip.dll

but still the error:

2: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: 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?)
File: D:\Apache\htdocs\forum\Sources\Subs-Post.php
Line: 973

Any help please..

thanks in advance

青山 素子

The semi-colon ( ; ) at the front of the line means it is commented out. Remove that from the line and restart Apache.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


madagascar

Quote from: Motoko-chan on July 04, 2007, 12:00:14 AM
The semi-colon ( ; ) at the front of the line means it is commented out. Remove that from the line and restart Apache.

thanks i will try this.

madagascar

where that exactly we can add this line "extension=php_openssl.dll". still doesnt work for me.

madagascar


unrelenting

It's in the php.ini file. Some people don't have access to that file. Ask your host via their forums or help ticket to find out how to access it or see if they will enable the php_openssl.dll for you.

madagascar

Quote from: unrelenting on July 04, 2007, 07:27:50 PM
It's in the php.ini file. Some people don't have access to that file. Ask your host via their forums or help ticket to find out how to access it or see if they will enable the php_openssl.dll for you.

thanks for your reply. but what i mean is the line at php.ini?  can access the file since im hosting my forum in my local pc.

unrelenting

Quote from: madagascar on July 04, 2007, 09:49:55 PM
Quote from: unrelenting on July 04, 2007, 07:27:50 PM
It's in the php.ini file. Some people don't have access to that file. Ask your host via their forums or help ticket to find out how to access it or see if they will enable the php_openssl.dll for you.

thanks for your reply. but what i mean is the line at php.ini?  can access the file since im hosting my forum in my local pc.

In your post about 4 posts you bolded the part that needs changed:

;extension=php_openssl.dll

make that line look like this:

extension=php_openssl.dll

madagascar

thanks unrelenting.

do you have other idea where we can use email hosting for free without opening the ssl?

thanks

hvyhitter

google wont work for me on this one.. I keep getting a sector 5 error..

i am trying what oldiesmann suggested hotpop.com

500 mail limit on it.. but.. whatever.

madagascar

Quote from: hvyhitter on July 06, 2007, 09:23:15 AM
google wont work for me on this one.. I keep getting a sector 5 error..

i am trying what oldiesmann suggested hotpop.com

500 mail limit on it.. but.. whatever.


can you share to us the details on how to install hotpop.com?

appreciate of your reply.

thanks in advance.

madagascar



MYBESTHOMESnet


hvyhitter

yeah that didnt work either.. the hoptpop way.. I went through my ISP and made an address through them (I had up to 10 of them) I just send it that way.. and things have been peachy using that method.

Advertisement: