Advertisement:

Author Topic: [TIP GUIDE] Setting up a gmail account on SMF  (Read 132988 times)

Offline lucas-ruroken

  • SMF Hero
  • ******
  • Posts: 4,907
  • Gender: Male
  • Adk Developer
    • lucas.ruroken on Facebook
    • lucasruroken on GitHub
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #20 on: July 06, 2010, 06:25:40 PM »
Nice tip ;)
Adk Portal 3.1 is coming....

Design your universe!

Offline AZMazda3

  • Jr. Member
  • **
  • Posts: 113
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #21 on: August 10, 2010, 02:04:52 PM »
The single google email info worked for us for now. THanks!

Offline Ryan2320

  • Semi-Newbie
  • *
  • Posts: 82
  • Gender: Male
    • Cisco Skills
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #22 on: August 21, 2010, 05:13:02 PM »
Thanks alot! This has help alot.. :)

Thanks again

Offline Soulgirl

  • Jr. Member
  • **
  • Posts: 120
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #23 on: September 05, 2010, 05:03:20 PM »
Brilliant, you saved my day as I couldn't work it out.  Thank you! xxx

Offline KensonPlays

  • SMF Hero
  • ******
  • Posts: 4,297
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #24 on: September 06, 2010, 03:02:54 AM »
Haven't set up on smf end, but use 3/50 stanard google apps email: my main, noreply, and my email for when clients email me.

Offline ben sisko

  • Semi-Newbie
  • *
  • Posts: 65
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #25 on: October 06, 2010, 06:14:05 AM »
very useful guide. thx.

Offline DaBrute

  • Jr. Member
  • **
  • Posts: 229
  • Gender: Male
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #26 on: December 27, 2010, 01:42:49 PM »
this is still confusing

Offline Tomy Tran

  • Senior Translator
  • Jr. Member
  • *
  • Posts: 314
  • Gender: Male
  • Vietnamese Translator
    • the.tomytran on Facebook
    • tomytran on LinkedIn
    • @_tomytran on Twitter
    • Call to +84 9 0602 6930 or visit www.tomytran.com
This TIP is no more useful:

For forum I have setup with SMF 2.0 RC5, Google mail apps intergrated with my domain. It is successfully with mail send and receive via Microsoft Office Outlook 2007 but unsuccessfull with it on forum:

Action - Reset password:
http://forum.mysite.com/index.php?action=reminder;sa=picktype
2: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to smtp.gmail.com:465 (Connection timed out)
File: /home/toantm27/public_html/forum/Sources/Subs-Post.php
Line: 1343

See detail in line 1343:
1342:    // Try to connect to the SMTP server... if it doesn't exist, only wait three seconds.
==>1343:    if (!$socket = fsockopen($modSettings['smtp_host'], empty($modSettings['smtp_port']) ? 25 : $modSettings['smtp_port'], $errno, $errstr, 3))

Other error:
http://forum.mysite.net/index.php?action=reminder;sa=picktype
Unable to connect to Server via SMTP: 110 : Connection timed out

After see again in MS Outlook, I see it allow to try connecting to Server timeouts is 1 min (short is 10 sec), but in line 1343 of file /home/toantm27/public_html/forum/Sources/Subs-Post.php it allows only 3 secs. I dont know much but when I set it from 3 to 29 or 60 secs, it always say: Server error (and nothing recorded into Logs.

Any solution you have now? Share it please!


Offline Garou

  • Sr. Member
  • ****
  • Posts: 759
  • Gender: Male
  • On Hiatus.
    • Balance Games
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #28 on: March 24, 2011, 03:43:27 PM »
It still works that way on most servers however Ive come across a couple of hosts that are blocking mail services like that. For some reason they think its more secure if their mail server is used.  You end up having to use the php mail setting in SMF, which sends the mail from the hosts server.

The header information in the email will read  From: whatever address you set up in the mail settings of SMF then it will also say Mailed by: your hosts server.

If you have a text record set up with your DNS (highly recommended) you have to add the host to the record as well as Google, otherwise it will be considered as spam through most filters because the originating host isnt validated.

Offline ahrasis

  • SMF Hero
  • ******
  • Posts: 4,921
  • Gender: Male
  • Busy mode is on.
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • ElkArte Malaysia
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #29 on: April 22, 2011, 11:54:03 PM »
Thanks for the tips. I like it.

Offline purnima

  • Newbie
  • *
  • Posts: 4
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #30 on: May 02, 2011, 05:24:17 AM »
Before, I don't know this setting information. Thank you for sharing this guide.

Offline mastro

  • Semi-Newbie
  • *
  • Posts: 14
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #31 on: July 08, 2011, 02:38:57 PM »
I was trying for a long time to configure google apps with smf. The solution for me was to change the Mail type from smtp to (PHP default). All the rest same as the guide ssl://smtp.gmail.com 465 etc..

Hope I've helped someone!!

Offline Garou

  • Sr. Member
  • ****
  • Posts: 759
  • Gender: Male
  • On Hiatus.
    • Balance Games
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #32 on: July 08, 2011, 05:10:24 PM »
Ive come across a couple of hosts that are blocking mail services like that. For some reason they think its more secure if their mail server is used.  You end up having to use the php mail setting in SMF, which sends the mail from the hosts server.

Essentially you are not using Gmail to send the mail, you are using your hosts PHP mail.

Offline coolcurrent

  • Semi-Newbie
  • *
  • Posts: 24
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #33 on: July 29, 2011, 01:48:53 PM »
I am trying for configuring smtp server settings for sending automatic mails through smf upon registration, activation, new post etc. to users, but facing difficulties from last few days. Still not able to configure.

Details:
I am hosting my site on freehostia: Although they don't provide outgoing smtp for my free hosting plan, but still smtp: mbox.freehostia.com works perfectly for sending and receiving emails through microsoft outlook.

Firstly I tried:
Mail type        : SMTP
SMTP server       : mbox.freehostia.com (it works on outlook)
SMTP port       : 25 (same on outlook)
SMTP username  : mailadd@mysitename.com   
SMTP password  : emailpassword

It gives the error @ error log:
fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to mbox.freehostia.com:25 (Permission denied)
Now I thought that my host server may not be allowing to send mail (as not allowed in my plan (but still I am able to do that through outlook)) So I configured google app for my website as explained by nightbre in this post.

After successfully configuration, I tried following on outlook and it worked
Incoming mail server (POP3): pop.gmail.com ; port: 995 ; ticked on: This server requires an encrypted connection (SSL)
Outgoing mail server (SMTP): smtp.gmail.com  ; port: 465 ; ticked on: This server requires an encrypted connection (SSL)

But when I am using this on smf server setting it is not working:
Trial:1
Mail type        : SMTP
SMTP server       : smtp.gmail.com
SMTP port       : 465
SMTP username  : mailadd@mysitename.com   
SMTP password  : emailpassword

Error:
fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to smtp.gmail.com:465 (Permission denied)

Trial:2
Mail type        : SMTP
SMTP server       : ssl://smtp.gmail.com
SMTP port       : 465
SMTP username  : mailadd@mysitename.com   
SMTP password  : emailpassword

Error:
fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to ssl://smtp.gmail.com:465 (Permission denied)

Trial:3
Mail type        : SMTP
SMTP server       : ssl://smtp.googlemail.com
SMTP port       : 465
SMTP username  : mailadd@mysitename.com   
SMTP password  : emailpassword

Error:
fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to ssl://smtp.googlemail.com
:465 (Permission denied)

I am puzzled; Please help!!!

If you are hosting on a free hots, then they must have blocked smtp

Offline Jasonsj10

  • Semi-Newbie
  • *
  • Posts: 64
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #34 on: August 26, 2011, 04:46:56 PM »
This tutorial is amazing. Thank you so much, I was having horrible issues with this spam. So now i got Email Verification and Questions :D

Offline captaingeek

  • Semi-Newbie
  • *
  • Posts: 14
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #35 on: October 17, 2011, 11:25:52 AM »
if the free gapps limit is 500 emails per day you can enable the mail q to send only 20 emails per hour correct?

Offline Jasonsj10

  • Semi-Newbie
  • *
  • Posts: 64
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #36 on: October 23, 2011, 11:33:58 PM »
Sadly i ruined my website and had to restart. I do not remember where to enable the "php_openssl" Could you help me out?

Offline captaingeek

  • Semi-Newbie
  • *
  • Posts: 14
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #37 on: November 01, 2011, 11:25:14 AM »
php.ini?

Offline Jasonsj10

  • Semi-Newbie
  • *
  • Posts: 64
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #38 on: November 08, 2011, 03:00:50 PM »
Tried that :( Didn't work.

Offline sambling

  • Semi-Newbie
  • *
  • Posts: 38
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #39 on: November 09, 2011, 07:53:08 PM »
Won't that kill your gmail account? It did when I tried it on wordpress....
www.forumhoopla.com Forum Promotion