Advertisement:

Author Topic: GMAIL and the SMTP feature  (Read 88107 times)

Offline JustTheGladiatoR

  • Semi-Newbie
  • *
  • Posts: 13
  • ForumAdmiN of ---> roma138.ilbello.com
    • Roma138 Forum
Re: GMAIL and the SMTP feature
« Reply #40 on: May 19, 2007, 06:15:29 AM »
If you don't mind me asking, why are you trying to use the gmail servers as the outgoing mail server for your forum?
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: xxxx@xxxx.com <-- replace stars with account and domain name.

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

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,020
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: GMAIL and the SMTP feature
« Reply #41 on: May 19, 2007, 01:55:37 PM »
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

Just because it's pouring down doesn't mean we're gonna drown. There's a time when all you can say is let it rain - Mat Kearney (Let It Rain)

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


Offline dirtylaundry

  • Semi-Newbie
  • *
  • Posts: 94
Re: GMAIL and the SMTP feature
« Reply #42 on: May 27, 2007, 01:56:21 PM »
how do u change the PHP.ini file? where is it

thanks

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,020
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: GMAIL and the SMTP feature
« Reply #43 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.
Motoko-chan
Director, Simple Machines

Just because it's pouring down doesn't mean we're gonna drown. There's a time when all you can say is let it rain - Mat Kearney (Let It Rain)

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


Offline madagascar

  • Semi-Newbie
  • *
  • Posts: 56
Re: GMAIL and the SMTP feature
« Reply #44 on: June 14, 2007, 02:50:14 AM »
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

Offline madagascar

  • Semi-Newbie
  • *
  • Posts: 56
Re: GMAIL and the SMTP feature
« Reply #45 on: July 03, 2007, 11:54:28 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: xxxx@xxxx.com <-- 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

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,020
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: GMAIL and the SMTP feature
« Reply #46 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.
Motoko-chan
Director, Simple Machines

Just because it's pouring down doesn't mean we're gonna drown. There's a time when all you can say is let it rain - Mat Kearney (Let It Rain)

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


Offline madagascar

  • Semi-Newbie
  • *
  • Posts: 56
Re: GMAIL and the SMTP feature
« Reply #47 on: July 04, 2007, 02:08:03 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.

Offline madagascar

  • Semi-Newbie
  • *
  • Posts: 56
Re: GMAIL and the SMTP feature
« Reply #48 on: July 04, 2007, 02:36:59 AM »
where that exactly we can add this line "extension=php_openssl.dll". still doesnt work for me.

Offline madagascar

  • Semi-Newbie
  • *
  • Posts: 56
Re: GMAIL and the SMTP feature
« Reply #49 on: July 04, 2007, 07:25:25 PM »
help me please

Offline unrelenting

  • Full Member
  • ***
  • Posts: 526
Re: GMAIL and the SMTP feature
« Reply #50 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.

Offline madagascar

  • Semi-Newbie
  • *
  • Posts: 56
Re: GMAIL and the SMTP feature
« Reply #51 on: July 04, 2007, 09:49:55 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.

Offline unrelenting

  • Full Member
  • ***
  • Posts: 526
Re: GMAIL and the SMTP feature
« Reply #52 on: July 04, 2007, 11:15:26 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

Offline madagascar

  • Semi-Newbie
  • *
  • Posts: 56
Re: GMAIL and the SMTP feature
« Reply #53 on: July 05, 2007, 03:11:17 AM »
thanks unrelenting.

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

thanks

Offline hvyhitter

  • Jr. Member
  • **
  • Posts: 187
    • HvyHitter Forums
Re: GMAIL and the SMTP feature
« Reply #54 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.

Offline madagascar

  • Semi-Newbie
  • *
  • Posts: 56
Re: GMAIL and the SMTP feature
« Reply #55 on: July 08, 2007, 05:06:08 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.

Offline madagascar

  • Semi-Newbie
  • *
  • Posts: 56
Re: GMAIL and the SMTP feature
« Reply #56 on: July 10, 2007, 07:10:24 PM »
help please

Offline madagascar

  • Semi-Newbie
  • *
  • Posts: 56
Re: GMAIL and the SMTP feature
« Reply #57 on: July 12, 2007, 03:22:36 AM »
up

Offline MYBESTHOMESnet

  • Jr. Member
  • **
  • Posts: 142
  • mybesthomes.net - inviting you all to join with us
    • http://www.mybesthomes.net
Re: GMAIL and the SMTP feature
« Reply #58 on: July 17, 2007, 02:07:51 AM »
help please

Offline hvyhitter

  • Jr. Member
  • **
  • Posts: 187
    • HvyHitter Forums
Re: GMAIL and the SMTP feature
« Reply #59 on: July 28, 2007, 10:26:08 AM »
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.