News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

some tips or manual for mailgun? SMTP: 111 : Connection refused

Started by nfmovil, May 03, 2016, 12:04:24 AM

Previous topic - Next topic

nfmovil

Hi, i don´t know how to use it.
I create an account in mailgun and always I get error SMTP: 111 : Connection refused
In Hosting dns are modified.






br360

That's a "cant connect to server" error. Where the SMTP username box is, shouldn't it be something different than [email protected]?

Jailer


nfmovil

Quote from: Jailer on May 05, 2016, 08:40:28 PM
Try port 587

No fue posible conectarse al servidor SMTP: 111 : Connection refused

foros/index.php?action=emailuser;sa=email
2: fsockopen(): unable to connect to smtp.mailgun.org:587 (Connection refused)
/public_html/foros/Sources/Subs-Post.php
Linea : 1365

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

Shambles


nfmovil

Quote from: Shambles on May 06, 2016, 03:26:43 AM
Try setting "SMTP Hostname" to

ssl://smtp.mailgun.org

fsockopen(): unable to connect to ssl://smtp.mailgun.org:587 (Connection refused)

Shambles


nfmovil


Shambles




nfmovil


margarett

tls://smtp.mailgun.org
maybe?

Yeah we had several issues with Godaddy not allowing any SMTP connections. Maybe you ask them?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

nfmovil

of course, like 15 times? 20 times? i'm tired of this guys... now I am moving all to new server. thank you all anyway.

Shambles

Sorry we couldn't get this sorted.

Have you considered using googlemail/gmail as your smtp provider? Works a treat.

nfmovil


Shambles

1- Create yourself a (free) gmail account

2- Make a minor code change as follows:

http://www.simplemachines.org/community/index.php?topic=544856.msg3870010#msg3870010


3- Configure your mail as follows:


nfmovil

: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Connection refused)

problem is godaddy

Shambles

Ahh, ok then. Was worth a try.

Good luck with your better new host :)


Advertisement: