Skip to content

Change default GMail SMTP/TLS port to 587. - #17

Open
timstaley wants to merge 1 commit into
tomekwojcik:masterfrom
timstaley:fix-gmail-smtp-tls-port
Open

Change default GMail SMTP/TLS port to 587.#17
timstaley wants to merge 1 commit into
tomekwojcik:masterfrom
timstaley:fix-gmail-smtp-tls-port

Conversation

@timstaley

Copy link
Copy Markdown

In testing, the default of '25' doesn't work for me.

Google's support page at
https://support.google.com/mail/answer/78775?hl=en
says the following:

If you tried configuring your SMTP server on port 465 (with SSL)
and port 587 (with TLS), but are still having trouble sending mail,
try configuring your SMTP to use port 25 (with SSL).

Which is a bit unclear but suggests 587 is sensible.

Perhaps my (university) institution has firewalled port 25,
since presumably that default works for others.

In testing, the default of '25' doesn't work for me.

Google's support page at
https://support.google.com/mail/answer/78775?hl=en
says the following:

    If you tried configuring your SMTP server on port 465 (with SSL)
    and port 587 (with TLS), but are still having trouble sending mail,
    try configuring your SMTP to use port 25 (with SSL).

Which is a bit unclear but suggests 587 is sensible.
@davidjb

davidjb commented Apr 30, 2014

Copy link
Copy Markdown

+1. I don't know of any ISP/internet connection near me that doesn't block port 25. Unsure of the stats worldwide, mind you. Otherwise, being able to pass a port as an argument would be a 'human' work-around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants