Advertisement:

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

Offline unrelenting

  • Full Member
  • ***
  • Posts: 526
Re: GMAIL and the SMTP feature
« Reply #20 on: November 03, 2006, 07:19:38 PM »
If you don't need the storage of sent messages, just use your gmail address, but send through your web server's mail setup.

Do you know how to set up the built in mail server in windows server 2003 or maybe have a link to a simple tutorial and turning it on? I haven't a clue but would like to use it.

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,020
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: GMAIL and the SMTP feature
« Reply #21 on: November 03, 2006, 08:55:23 PM »
The simplest solution is installing the SMTP server that comes with Windows in IIS (if you are using IIS for your web server this is the easiest way). You could also look into using Mercury Mail also.
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 xtremecruiser

  • Jr. Member
  • **
  • Posts: 375
    • GolfDiscussions.com
Re: GMAIL and the SMTP feature
« Reply #22 on: November 08, 2006, 06:20:16 PM »
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.

That email limit is a issue.
Any other emails allow this or have a higher outbound limit ?

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,020
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: GMAIL and the SMTP feature
« Reply #23 on: November 08, 2006, 06:35:11 PM »
That is because you are sending through Google's server. Send through your own server, it should be capable of sending mail.
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 rabidjade

  • Semi-Newbie
  • *
  • Posts: 34
    • PolicePosers.com Forums!
Re: GMAIL and the SMTP feature
« Reply #24 on: November 20, 2006, 04:35:02 AM »
Sorry for bringing up an old thread but this had the information I needed. I have the same problem where I have no SMTP mail servers to use and already primarily use gmail for my website host on my home server. I installed Mercury mail server but it looks like it's a dedicated server to the Pegasus mail client and has no mention that I could find of being used elsewhere. If anyone knows anything about Mercury, PM me, thanks!

Offline Dozzer

  • Semi-Newbie
  • *
  • Posts: 33
    • Sorted Students
Re: GMAIL and the SMTP feature
« Reply #25 on: November 21, 2006, 11:24:01 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?

well..  my host does not have SMTP access...
so my new users never get a registration e-mail.
Be a Sorted Student...
www.sortedstudents.co.uk

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,020
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: GMAIL and the SMTP feature
« Reply #26 on: November 21, 2006, 11:33:21 AM »
What about using the PHP default?

Odd that a host wouldn't have any SMTP access on their network.
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 unrelenting

  • Full Member
  • ***
  • Posts: 526
Re: GMAIL and the SMTP feature
« Reply #27 on: November 24, 2006, 07:59:10 PM »
What about using the PHP default?

Odd that a host wouldn't have any SMTP access on their network.

What has to be set to use the php default without a mail server set up on the server that you use? Is there a setting in php I should look for or elsewhere?


Offline Elmacik

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,276
  • Gender: Male
  • = Human Draft =
    • IT Store
Re: GMAIL and the SMTP feature
« Reply #28 on: November 24, 2006, 08:12:31 PM »
Admin -> Server Settings -> Feature Configuration -> Mail Type
Select "PHP Standard" from the drop down list and save.
Home of Elmacik

Offline unrelenting

  • Full Member
  • ***
  • Posts: 526
Re: GMAIL and the SMTP feature
« Reply #29 on: November 24, 2006, 08:15:26 PM »
Admin -> Server Settings -> Feature Configuration -> Mail Type
Select "PHP Standard" from the drop down list and save.

I've tried that. It never connects to send emails that way. I thought maybe there was a setting in the php software that I needed to set to get the PHP email to work.

Offline Elmacik

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,276
  • Gender: Male
  • = Human Draft =
    • IT Store
Re: GMAIL and the SMTP feature
« Reply #30 on: November 24, 2006, 08:25:49 PM »
It should be configured to show the sendmail path in php.ini like this:
Code: [Select]
sendmail_path = /usr/lib/sendmailThe path differs on servers.
Home of Elmacik

Offline unrelenting

  • Full Member
  • ***
  • Posts: 526
Re: GMAIL and the SMTP feature
« Reply #31 on: November 24, 2006, 08:29:07 PM »
It should be configured to show the sendmail path in php.ini like this:
Code: [Select]
sendmail_path = /usr/lib/sendmailThe path differs on servers.

Where would I look to find the correct sendmail path on a Windows 2003 Server?

Offline Elmacik

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,276
  • Gender: Male
  • = Human Draft =
    • IT Store
Re: GMAIL and the SMTP feature
« Reply #32 on: November 24, 2006, 08:33:50 PM »
There is no sendmail in Windows. There are of course clones of sendmail for windows, but you still need an SMTP server to configure it to work properly.

http://www.google.com/search?rls=en&q=sendmail+windows
Home of Elmacik

Offline unrelenting

  • Full Member
  • ***
  • Posts: 526
Re: GMAIL and the SMTP feature
« Reply #33 on: November 24, 2006, 08:52:37 PM »
There is no sendmail in Windows. There are of course clones of sendmail for windows, but you still need an SMTP server to configure it to work properly.

http://www.google.com/search?rls=en&q=sendmail+windows

I was afraid of that. I guess I'll just continue using gmails server.

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,020
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: GMAIL and the SMTP feature
« Reply #34 on: November 27, 2006, 10:53:01 AM »
PHP default uses the standard PHP mail functions. For Windows this uses the SMTP server settings in php.ini. For *NIX platforms, the sendmail path is used.
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 patoforos

  • Semi-Newbie
  • *
  • Posts: 18
Re: GMAIL and the SMTP feature
« Reply #35 on: November 28, 2006, 09:15:23 AM »
dios sera que agluien me explica paso a paso como configuro smtp para mi foro... con gmail o con lo que sea... que no entiendo.. .. graxias :-\

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,020
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: GMAIL and the SMTP feature
« Reply #36 on: November 28, 2006, 12:39:58 PM »
pataforos, please use English or ask on the support board for your language.
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 webtech

  • Newbie
  • *
  • Posts: 1
Re: GMAIL and the SMTP feature
« Reply #37 on: January 23, 2007, 10:49:10 PM »
I went to simple machines because of the features and themes.  It looks great and will work well for newbies.  BUT I cannot get the smf to send emails. 
When I use the default PHP, I get nothing,, no error,, nada

I then tried every possible SMTP configuration; no email, just error 500

Then I tried the gmail route and had new errors.
fsockopen()[<a href='funtion.fsockopen'>function.fsockopen</a>: unable to connect to smtp.gmail.com:465

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.

In this recomendation, step 1, where do I go to insert this code?

If there is any other help you can give me, I would really appreciate it.  If I can't get this working I am going to have to abandon ship...

I am surprised that since this is obviously a problem for several users that more detailed help is not available.

Offline Goosemoose

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,400
  • Gender: Male
    • Goosemoose.com
Re: GMAIL and the SMTP feature
« Reply #38 on: January 25, 2007, 01:50:47 AM »
webtech, If you can't get the normal php mail to work, I'd email your host and ask them what's up. That is a problem with the php installation or a restriction the host has placed on you.

Offline dewasalju

  • Newbie
  • *
  • Posts: 1
Re: GMAIL and the SMTP feature
« Reply #39 on: March 04, 2007, 05:50:02 AM »
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.

where can i find the php.ini? Thank you