Email server settings - Host names and ports for connecting the Email package to Microsoft Outlook, Gmail, Yahoo, and MSN mail servers.

Automation 360

Host names and ports for connecting the Email package to Microsoft Outlook, Gmail, Yahoo, and MSN mail servers.

Use the host name and port for your mail server when you establish a connection:
Table 1. Server
Server For reading or retrieving emails For sending emails
Microsoft Outlook/Microsoft Office 365 Host: outlook.office365.com

Port: 993

Host: outlook.office365.com,

Port: 993

Host:smtp.office365.com

Port: 587

Gmail Host: imap.gmail.com

Port: 993

Host: smtp.gmail.com

Port: 587

Yahoo Host: imap.mail.yahoo.com

Port: 993

Host: smtp.mail.yahoo.com

Port: 465 or 587

MSN Host: imap-mail.outlook.com

Port: 993

For POP3:

Host: pop-mail.outlook.com

Port: 993

Host: smtp-mail.outlook.com

Port: 465 or 587

The Email package supports nonstandard ports in the range of 1 through 65535 for the SMTP server.

Additional configuration for Gmail and Yahoo

Google no longer supports less secure apps, which let you sign in with only a username and password. If you use a Gmail account to automate an email-related task, you can grant access to third-party applications by using an app password. Use an app password when the application does not support Sign in with Google. App passwords work only with accounts that have 2-Step Verification turned on. As a best practice, use OAuth 2.0 authentication to access G Suite account data.

For more information on how to generate an app password for Gmail, see Generate and use app passwords for Gmail.

If you use a Yahoo account to automate an email-related task, generate an app password on the Yahoo account security page. Then use the app password and your email address to sign in to your email account.

For more information on how to generate an app password for Yahoo, see Generate and use app passwords for yahoo.