Advertisement:

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

Offline marcberm

  • Semi-Newbie
  • *
  • Posts: 76
  • Gender: Male
    • Rage Across the Cape
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #40 on: February 01, 2012, 06:23:19 PM »
I am getting similar connection timeout errors while trying to get this configured.  I know that my host has setup openSSL, as I submitted a ticket with them for that already and received notification it was complete.  Should my next step be to check that the host isn't blocking my ability to send SMTP mail via php?  Is there anything else I could/should check first?  I have attempted all of the variations (with and without the ssl://, as googlemail vs. gmail, username vs. full email address, etc).  I realize no one will probably have the magic answer here, but some logical progression of steps I can take to troubleshoot this would be helpful.  Thanks everyone, in advance!

Update:  I just checked with the provider, and they show a few tests where they have SMTP working on my server/domain.  They've suggested I check my code.  Kind of a newbie at this stuff.  I know just enough to be dangerous and sometimes enough to be productive in a slow and painful way. :)
« Last Edit: February 01, 2012, 07:09:57 PM by marcberm »
Marc Berman

Administrator,
Rage Across the Cape
www.rageacrossthecape.com

Offline Kevin1

  • Semi-Newbie
  • *
  • Posts: 66
  • Gender: Male
  • http://teknotech.in
    • Akram210712 on Facebook
    • @Akram210712 on Twitter
    • TeknoTech
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #41 on: February 29, 2012, 05:32:22 AM »
Same problem.

Could not connect to SMTP host: 110 : Connection timed out
smtp.gmail.com:465 (Connection timed out)
Get free Gprs tricks for all telecom operators here.
http://teknotech.in

Offline Night09

  • SMF Hero
  • ******
  • Posts: 1,940
  • Gender: Male
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #42 on: February 29, 2012, 06:26:41 AM »
SMTP server: ssl://smtp.gmail.com

SMTP port: 465

Sites running this config and sends ok.

Offline Kevin1

  • Semi-Newbie
  • *
  • Posts: 66
  • Gender: Male
  • http://teknotech.in
    • Akram210712 on Facebook
    • @Akram210712 on Twitter
    • TeknoTech
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #43 on: February 29, 2012, 01:49:44 PM »
SMTP server: ssl://smtp.gmail.com

SMTP port: 465

Sites running this config and sends ok.
nothing happen. Problem exist
Get free Gprs tricks for all telecom operators here.
http://teknotech.in

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
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #44 on: March 06, 2012, 07:27:22 PM »
I find out may be this problem:
GAPPs allow us sending 500 mails per day, means 20.8333 mails per hour, means 0.34722 mail per minute.

But go to Maintenance >> Mail >> Settings at this address:
http://forum.vnweb.org/index.php?action=admin;area=mailqueue;sa=settings

we have this option:
Maximum emails to send per minute, if we set to minimum is 1 (we cant set it to 0.34 or under 01), we will send a minimum 1*60*24 = 1440 mails per day. It's over the Limit of GAPPs 940 mails (= 1440 - 500).

Any one can code the SMF to allow we set Maximum emails to send per hour ?

Offline Night09

  • SMF Hero
  • ******
  • Posts: 1,940
  • Gender: Male
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #45 on: March 07, 2012, 12:53:40 PM »
The only thing i can suggest is break up your total and use the mail queue and send 500 per day from the queue. Not sure the best way of doing this but maybe someone can edit the template so instead of minutes change to max mails per hour or day. This may have been addressed in the mods or coding boards but you may need to have a good search.

The only other option is to sub to GAPP's for a higher quota.

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
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #46 on: March 09, 2012, 12:31:54 AM »
For some limits of some host, it'd prefer to know how to change to Maximum emails to send per hour or to Maximum emails to send per day

Offline stylusss

  • Jr. Member
  • **
  • Posts: 350
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #47 on: September 12, 2012, 06:44:28 PM »
Thank you for this guide. :)
For top-notch server quality and expertise, visit CoreISP.net

Offline Aaruni

  • Semi-Newbie
  • *
  • Posts: 10
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #48 on: September 24, 2012, 07:51:54 AM »
I still cant make it work :(

Offline Tyler Style

  • Newbie
  • *
  • Posts: 4
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #49 on: September 28, 2012, 02:57:05 PM »
Unfortunately, I can't get this working either.  It's on a self-hosted Ubuntu box, using Apache2.  Openssl is enabled, and phpinfo reports it active, so that's not it.  I'm not seeing any error messages, either.  The Google Apps account is set up to accept POP.  Any troubleshooting tips?

Note: the screencap shows "(PHP default)" - it's not, it's SMTP.

Offline Night09

  • SMF Hero
  • ******
  • Posts: 1,940
  • Gender: Male
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #50 on: September 28, 2012, 03:44:45 PM »
Check your router / firewall ect that the port is open and not blocked. You might have to open one to get it working.

Offline Tyler Style

  • Newbie
  • *
  • Posts: 4
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #51 on: October 15, 2012, 02:42:57 PM »
Check your router / firewall ect that the port is open and not blocked. You might have to open one to get it working.
It's in the DMZ, so that's not it.  Also, other apps are integrating with Google Apps just fine.

Offline Night09

  • SMF Hero
  • ******
  • Posts: 1,940
  • Gender: Male
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #52 on: October 15, 2012, 03:14:06 PM »
Try changing     

ssl://smtp.googlemail.com   

to     

ssl://smtp.gmail.com

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 #53 on: October 18, 2012, 02:12:14 AM »
I can't get this working at all. I have edited my php.ini to enable openssl and try both instances of ssl://smtp.googlemail.com and ssl://smtp.gmail.com, with and without ssl, and all ports from 25, 465 and 587. I even try to increase the time from 3 seconds to 60 and 300 seconds but still failed. Is there anything else we need to do in our gmail settings other than enabling pop and disabling imap?

Offline Night09

  • SMF Hero
  • ******
  • Posts: 1,940
  • Gender: Male
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #54 on: October 19, 2012, 08:16:44 AM »
Have you set an alternative username and password in Admin settings for using ssl ? Mines on the default settings but wondering if anyone has changed this and maybe caused an issue using it as a secondary database user.

Also if you login to gmail is it set in settings (cog symbol) to use https ?

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 #55 on: October 21, 2012, 01:17:00 AM »
I did all of that. The only thing I didn't do is contacting my host. They do not allow it. That is why it doesn't work. So I was able to do it by setting up email under my domain with my host and use their smtp instead of gmail. I think that is even better since I can access it from my gmail, having responses forwarded to my gmail and set an autoresponder as well.

Offline Smythe

  • Semi-Newbie
  • *
  • Posts: 48
Setting up a gmail account on SMF
« Reply #56 on: January 26, 2013, 12:33:54 PM »
Looking for a little assistance...

This is the email error message that I get...

Could not connect to SMTP host: 10060 : A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

I have another forum set up using IP Boards with the same SMTP settings and it works just fine... the only difference is that IP Boards has an option to "Add '<' and '>' to 'to' and 'from' addresses"

not sure if thats the issue??? any suggestions ??? or way to add the "<" ">" to addresses to test..

Offline Aaruni

  • Semi-Newbie
  • *
  • Posts: 10
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #57 on: January 26, 2013, 12:42:03 PM »
I still cant make it work :(


Was dissalowed by host. Tried on localhost, and works without problems  :)

Offline crazyearner

  • Semi-Newbie
  • *
  • Posts: 26
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #58 on: February 20, 2013, 07:02:30 PM »
Hello  I have followed guide and settings to get email set up so that system sends emails out if cliknig forgot password however does not send the emails out. Is their no built in email client with mf to send system messages out if not then I have tried and followed the setup process with gmail and still doe not send emails out.

Offline Crozz

  • Semi-Newbie
  • *
  • Posts: 47
  • Gender: Male
Re: [TIP GUIDE] Setting up a gmail account on SMF
« Reply #59 on: February 21, 2013, 03:15:39 AM »
Hello  I have followed guide and settings to get email set up so that system sends emails out if cliknig forgot password however does not send the emails out. Is their no built in email client with mf to send system messages out if not then I have tried and followed the setup process with gmail and still doe not send emails out.
SMF by default sends email through PHP, you must have set it to SMTP, also I think for gmail to work with domains you need to have
google apps account.