Advertisement:

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

Offline Dave91

  • Semi-Newbie
  • *
  • Posts: 28
GMAIL and the SMTP feature
« on: March 03, 2006, 06:30:39 AM »
Hi all,

Im havin bizarre problems in setting up GMAIL as the email smtp client on my forum!!!

smtp.gmail.com is the smtp server... i know that much
davessite.forum is my username
port... i am having problems with i think as others told me to use different ports and still i had no luck,...

Any ideas fellow friends?? :D

Dave
Thanks!!,
Dave

Offline Elmacik

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,276
  • Gender: Male
  • = Human Draft =
    • IT Store
Re: GMAIL and the SMTP feature
« Reply #1 on: March 03, 2006, 06:44:56 AM »
We cant use gmail's SMTP service with SMF. Because gmail requires SSL (Secure Socket Layer) login.
But SMF uses standard login for SMTP. So it wont be able to conntect to gmail.
Home of Elmacik

Offline Dave91

  • Semi-Newbie
  • *
  • Posts: 28
Re: GMAIL and the SMTP feature
« Reply #2 on: March 03, 2006, 11:36:09 AM »
Do you no a gd one i can use??

Dave
Thanks!!,
Dave

Offline Oldiesmann

  • Developer
  • SMF Super Hero
  • *
  • Posts: 24,814
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • http://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: GMAIL and the SMTP feature
« Reply #3 on: March 03, 2006, 01:15:14 PM »
http://www.hotpop.com has free SMTP service, but they're not going to be as good as what you'd get with GMail.
Michael Eshom
Webmaster / SMF Lead Developer
oldiesmann@simplemachines.org

Offline Dave91

  • Semi-Newbie
  • *
  • Posts: 28
Re: GMAIL and the SMTP feature
« Reply #4 on: March 03, 2006, 02:28:34 PM »
Thanks for the reply anyway mate!!

Dave
Thanks!!,
Dave

Offline Lazybones

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
Re: GMAIL and the SMTP feature
« Reply #5 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: xxxx@xxxx.com <-- replace stars with account and domain name.

Offline 青山 素子

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

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
Re: GMAIL and the SMTP feature
« Reply #7 on: September 11, 2006, 11:15:11 PM »
Because Google will host your private domain email for free https://www.google.com/a/ .

You get a @yourdomain.com address, but they are hosted in a gmail interface that you can admin.

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,020
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: GMAIL and the SMTP feature
« Reply #8 on: September 11, 2006, 11:18:58 PM »
But they aren't hosting your site. At least, I didn't see anything about offering webspace on the page. You can use your hosts' internal mailserver (or smtp gateway) just fine. It also cuts down on traffic because your forum doesn't have to establish a connection to Google's servers and send however many messages to there, just to have them relayed to their destination.
« Last Edit: September 11, 2006, 11:20:36 PM by Motoko-chan »
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 Lazybones

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
Re: GMAIL and the SMTP feature
« Reply #9 on: September 11, 2006, 11:22:16 PM »
But they aren't hosting your site. At least, I didn't see anything about offering webspace on the page.

You can have your email server MX record point to a different server than your DNS record for your site. Hosting email can be a pain when it comes to filtering, spam, viruses and users who don't want to clean out their account.

There is an option to host pages as well, but I don't think they support dynamic content of any type.

When you are hosting multiple accounts for a guild, or small company, you don't just tack them on to your ISP account.
« Last Edit: September 11, 2006, 11:24:03 PM by Lazybones »

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,020
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: GMAIL and the SMTP feature
« Reply #10 on: September 11, 2006, 11:29:47 PM »
I think you are misunderstanding my point, or I'm missreading you. You can use your hosted e-mail address as the sending address without having to use the gmail servers.

All MX records are for is where mail should come in when people are sending to you.
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 Lazybones

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
Re: GMAIL and the SMTP feature
« Reply #11 on: September 11, 2006, 11:36:40 PM »
If my custom domain addresses are hosted by google, and I want my outgoing email notices to match my google accounts (lets assume I have no ISP email hosting). Then I need to send them out via google SMTP.

I have found a way that works so I posted it. Also installing the open SSL extention and using ssl:// should fix some other users problems with ISPs who force SSL as an option on all email accounts just like google.

Offline Lazybones

  • Jr. Member
  • **
  • Posts: 118
  • Gender: Male
Re: GMAIL and the SMTP feature
« Reply #12 on: September 11, 2006, 11:39:09 PM »
P.S. As an added bonus of using Googles SMTP for outgoing email.. All outgoing email is tracked and searchable in the email accounts sent item folder.

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: GMAIL and the SMTP feature
« Reply #13 on: September 28, 2006, 01:08:57 PM »
I also have gmail hosting my domains email. I used to have my server send out the emails but lots of email servers were blocking email from the forum as spam since the originating address didn't resolve back to google. I'm going to try this ssl tip right now, thanks.

Offline xtremecruiser

  • Jr. Member
  • **
  • Posts: 375
    • GolfDiscussions.com
Re: GMAIL and the SMTP feature
« Reply #14 on: October 25, 2006, 09:24:40 AM »
So how is this working out for anyone ?
Is there a limit to the amount of emails sent per hour ?

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: GMAIL and the SMTP feature
« Reply #15 on: October 25, 2006, 11:39:05 PM »
Works great for me. Unfortunately I can't get it to work with joomla, but it works great for SMF!

Offline unrelenting

  • Full Member
  • ***
  • Posts: 526
Re: GMAIL and the SMTP feature
« Reply #16 on: November 02, 2006, 11:16:25 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.

This works beautifully. Thanks.

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: GMAIL and the SMTP feature
« Reply #17 on: November 03, 2006, 01:23:16 AM »
Ok, there is a huge problem here that I realized. There is a 500 email a day limit on all gmail accounts. This means that my messages were not getting sent out after about 6pm each day as I had reached my limit. Short of a mod to rotate through several email addresses, this will be a problem for most decent sized forums. Check your error logs in the admin panel to see if this is affecting you.

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,020
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: GMAIL and the SMTP feature
« Reply #18 on: November 03, 2006, 01:43:35 AM »
If you don't need the storage of sent messages, just use your gmail address, but send through your web server's mail setup.
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 Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: GMAIL and the SMTP feature
« Reply #19 on: November 03, 2006, 03:06:08 AM »
My goal was to use googles smtp server. When I don't I seem to get blacklisted as spam more.