Advertisement:

Author Topic: Anybody having recent issues with gmail?  (Read 31707 times)

Offline Jailer

  • Jr. Member
  • **
  • Posts: 140
  • Gender: Male
    • Bored Guy Blog
Re: Anybody having recent issues with gmail?
« Reply #40 on: May 24, 2016, 06:13:19 PM »
Mailgun is free up to 10,000 per month. Are you sending out more than that?

Offline Tiribulus

  • Sophist Member
  • *****
  • Posts: 1,016
  • Gender: Male
    • Tiribulus on Facebook
    • No Other God
Re: Anybody having recent issues with gmail?
« Reply #41 on: May 24, 2016, 06:18:02 PM »
Oh no LOL! I didn't know that. I will check. Thank you very much.  :)  I really would love to get this working.

Offline Tiribulus

  • Sophist Member
  • *****
  • Posts: 1,016
  • Gender: Male
    • Tiribulus on Facebook
    • No Other God
Re: Anybody having recent issues with gmail?
« Reply #42 on: May 24, 2016, 06:32:30 PM »
I don't mean to sound ungrateful man, but I have absolutely no clue what all this is it wants me to do. This is far more complicated even than gmail. Am I to conclude that it is not possible to simply enter some settings and have SMF send notifications?

Offline Jailer

  • Jr. Member
  • **
  • Posts: 140
  • Gender: Male
    • Bored Guy Blog
Re: Anybody having recent issues with gmail?
« Reply #43 on: May 24, 2016, 06:58:31 PM »
You have to also set up the records for your domain. It will vary slightly by registrar but it's not too complicated. Mailgun has tutorials and your domain registrar should have instructions as well.

Offline Tiribulus

  • Sophist Member
  • *****
  • Posts: 1,016
  • Gender: Male
    • Tiribulus on Facebook
    • No Other God
Re: Anybody having recent issues with gmail?
« Reply #44 on: May 24, 2016, 09:30:11 PM »
You guys have all been very gracious to offer to help. I appreciate it. Elastic mail actually ended up working it looks like though.
https://elasticemail.com/
I do think there is some weird under the hood issue with this server too. When I was trying to setup some service I can't even remember right now anymore, it sent an activation mail to the other admin on the site who's email address played no part whatsoever in my test registration.  :o

Offline Jailer

  • Jr. Member
  • **
  • Posts: 140
  • Gender: Male
    • Bored Guy Blog
Re: Anybody having recent issues with gmail?
« Reply #45 on: May 25, 2016, 05:53:21 PM »
Is the old admins email address still listed in the server settings?  Server settings ->General

Offline ninjawarrior

  • Newbie
  • *
  • Posts: 9
Re: Anybody having recent issues with gmail?
« Reply #46 on: June 23, 2016, 09:37:07 AM »
Ok I have found a resolution to this problem, which requires a minor code change.

The clue was in this post here:

hxxp:stackoverflow.com/questions/36323790/ssmtp-no-longer-works-invalid-response-501-5-5-4-helo-ehlo-argument-myemaila [nonactive]


What I've done is edit Sources/Subs-Post.php as follows:

Code: (Find) [Select]
// EHLO could be understood to mean encrypted hello...
if (server_parse('EHLO ' . $modSettings['smtp_host'], $socket, null) == '250')



Code: (Replace With) [Select]
// EHLO could be understood to mean encrypted hello...
// if (server_parse('EHLO ' . $modSettings['smtp_host'], $socket, null) == '250')
if (server_parse('EHLO ' . 'localhost', $socket, null) == '250')


All seems to be working now.

Mine doesnt seem to work.

I tried with a normal gmail account (w/o 2fa) & a own domain email using gmail (2fa, app pw) and both cant work. Changed /subs-post.php as advised and SMTP 465 with SSL://smtp.gmail.com.

Offline yan.uniko.102

  • Semi-Newbie
  • *
  • Posts: 24
  • 吴阿卡
    • Drawcoders
Re: Anybody having recent issues with gmail?
« Reply #47 on: January 02, 2017, 03:59:06 PM »
Is a bug of all smf version at now. The SMTP server is ssl://mail.gmail.com but when send HELO command the smf says: HELO ssl://mail.gmail.com and the gmail server return a error by malformed HELO.

When says HELO localhost your server fall in black lists, the HELO server canot say localhost.

The solution for me is replace

if (server_parse('EHLO ' . $modSettings['smtp_host'], $socket, null) == '250')

By

if (server_parse('EHLO ' . str_replace('ssl://'.$modSettings['smtp_host']), $socket, null) == '250')

In all lines when use $modSettings['smtp_host'] except to connect in socket.

The smf need a checkbox with "enable ssl" and put the prepend schema ssl:// and check if the input of server name is a real host and not the schema.

Offline Raffaele1977

  • Full Member
  • ***
  • Posts: 445
Re: Anybody having recent issues with gmail?
« Reply #48 on: September 22, 2017, 02:04:01 AM »
I have 3 forums.

In 2 of them the old solution (in subs-post) worked.
In the newone, I created some days ago, it doesn't work.

Everything is similar in the forums.

Can someone help me? :(
MacOsX - 10.14.5
SMF 2.0.15
Safari (last) or Chrome (last)

Offline Raffaele1977

  • Full Member
  • ***
  • Posts: 445
Re: Anybody having recent issues with gmail?
« Reply #49 on: September 22, 2017, 02:17:59 AM »
Solved.
It should be activated in google apps the "non secure" access for apps.
MacOsX - 10.14.5
SMF 2.0.15
Safari (last) or Chrome (last)