Apple Intelligence is now available on iPhone, iPad, and Mac!

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Connections to host SMTP on the defult ports

I use Apple mail with a Gmail address. My incoming email works fine but often the outgoing mail does not function. Below is the message that pops up on the screen:


"Cannot send message using the server Gmail.

Connections to host SMTP.gmail.com on the default ports failed

Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent."


I have tried a couple of suggestions on tube and none work. Thank you!


iMac, macOS 10.12

Posted on Sep 18, 2020 4:26 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 18, 2020 5:24 PM

Depending on the provider, you will need to use TCP port 465 or TCP port 587.


Per Google: Incoming connections to the IMAP server at imap.gmail.com:993 and the POP server at pop.gmail.com:995 require SSL. The outgoing SMTP server, smtp.gmail.com, requires TLS. Use port 465, or port 587 if your client begins with plain text before issuing the STARTTLS command.


I’d try TCP 587 first, and enable connection security with whatever port you try.


Here’s the Apple mail settings lookup tool: Mail Settings Lookup


Here’s the Mac mail connection diagnostic tool: Use Connection Doctor in Mail on Mac - Apple Support


With High Sierra, you’ll have to use the Edit SMTP Server selection in the Mail Server pop-up within the Mail > Preferences > Accounts selection to get to the SMTP settings. It’s buried. There, you’ll find the account settings associated with sending to the mail server you’re working with. To smtp.gmail.com, in this case.




BDAqua:


TCP Port 25 is for mail servers to chat with other mail servers, and not a port that mail clients should be using. Not anymore. Not with common firewall rules intended to block spam. Many networks now block outbound TCP port 25 connections, except from known mail servers. Which will block client use of TCP port 25. Which means using TCP 465 and/or TCP 587 for sending mail.


The unencrypted ports (110, 143) should besr be avoided, unless your mail provider is operating without any security. Most providers do not support those insecure ports any more. And if the provider uses or requires those unencrypted ports, I’d look for a different provider.


Similar questions

3 replies
Question marked as Top-ranking reply

Sep 18, 2020 5:24 PM in response to BDAqua

Depending on the provider, you will need to use TCP port 465 or TCP port 587.


Per Google: Incoming connections to the IMAP server at imap.gmail.com:993 and the POP server at pop.gmail.com:995 require SSL. The outgoing SMTP server, smtp.gmail.com, requires TLS. Use port 465, or port 587 if your client begins with plain text before issuing the STARTTLS command.


I’d try TCP 587 first, and enable connection security with whatever port you try.


Here’s the Apple mail settings lookup tool: Mail Settings Lookup


Here’s the Mac mail connection diagnostic tool: Use Connection Doctor in Mail on Mac - Apple Support


With High Sierra, you’ll have to use the Edit SMTP Server selection in the Mail Server pop-up within the Mail > Preferences > Accounts selection to get to the SMTP settings. It’s buried. There, you’ll find the account settings associated with sending to the mail server you’re working with. To smtp.gmail.com, in this case.




BDAqua:


TCP Port 25 is for mail servers to chat with other mail servers, and not a port that mail clients should be using. Not anymore. Not with common firewall rules intended to block spam. Many networks now block outbound TCP port 25 connections, except from known mail servers. Which will block client use of TCP port 25. Which means using TCP 465 and/or TCP 587 for sending mail.


The unencrypted ports (110, 143) should besr be avoided, unless your mail provider is operating without any security. Most providers do not support those insecure ports any more. And if the provider uses or requires those unencrypted ports, I’d look for a different provider.


Connections to host SMTP on the defult ports

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.