Domain email account configuration in Gmail

This article explains how to read and send the hosting mailbox from Gmail. The account remains on the server: Gmail copies the inbox and sends outbound messages through the domain's SMTP.

What is it for?

It is used to work with that address, for example info@yourdomain.com, inside Gmail. It does not transfer the domain to Google nor does it replace Webmail.

  • Gmail checks the inbox via POP. It does not synchronize all folders.
  • To send as that address, the message goes out through the hosting server.
  • If you leave a copy on the server, the email also remains in Webmail.

Mailbox details: the username is the full address and the password is the Webmail one. The server is mail.yourdomain.com, changing yourdomain.com for your domain. The mailbox must exist in cPanel → Email → Email Accounts.

Important: mail.yourdomain.com must point to the hosting. If when adding the account Gmail rejects the certificate or the server, use the name listed in cPanel, under Connect Devices for that mailbox. Check leaving a copy on the server: otherwise, Gmail pulls the message from the mailbox.

Receiving email

  1. On the computer, open Gmail with the Google account where you want to view that mailbox.
  2. Click on Settings → See all settings.
  3. Open the Accounts and Import tab.
  4. Under Check mail from other accounts, click on Add a mail account.
  5. Type the full mailbox, for example info@yourdomain.com, and click Next.
  6. Choose Import emails from my other account (POP3) and click Next.
  7. Fill in the incoming mail:
    • Username: the full mailbox.
    • Password: the Webmail one.
    • POP Server: mail.yourdomain.com.
    • Port: 995.
    • Check leave a copy of retrieved message on the server.
    • Check always use a secure connection (SSL).
  8. Click Add account.

Gmail does not fetch the email instantly. It checks the other account periodically.

Sending with that address

  1. When Gmail asks if you also want to send as that mailbox, choose Yes, I want to treat as an alias that address and click Next.
  2. Type the name that recipients will see.
  3. Leave Treat as an alias checked if you are going to read and reply to that mailbox from this same Gmail account. Uncheck it if the address belongs to someone else.
  4. Click Next Step.
  5. Fill in the outgoing mail:
    • SMTP Server: mail.yourdomain.com.
    • Username: the full mailbox.
    • Password: the Webmail one.
    • Port: 587.
    • Secure connection: TLS.
  6. Click Add Account.

If port 587 does not connect, try again with port 465 and the SSL secure connection.

Confirming the address

  1. Gmail sends a message with a code to that mailbox. The subject is the confirmation to send as that address.
  2. Open it in Webmail, or in Gmail if the POP copy has already arrived. Also check the spam folder.
  3. Copy the code, paste it on the Gmail screen and click Verify.

After verifying, you can now receive the inbox and choose that address in From when composing. When replying to a message that arrived in the mailbox, Gmail can use that same address.

Common issues

  • Username or password rejected: the username is the full mailbox and the password is the Webmail one, not the Gmail nor the cPanel one.
  • Server does not connect or certificate does not match: the domain does not point to the hosting, or mail.yourdomain.com is not the certificate name. Use the server that Connect Devices shows for that mailbox.
  • Mail comes in, but does not go out: SMTP is missing or the code was not confirmed. Review port 587 with TLS, or 465 with SSL.
  • Webmail became empty: leaving a copy on the server was not checked. Gmail already pulled those messages from the mailbox.
  • I don't see folders or email right away: Gmail only copies the inbox via POP and does not do it instantly. The other folders continue to be visible in Webmail.

If Gmail does not accept the server, the code does not arrive or messages go out rejected, open a ticket from the client portal or ask via the site's online chat.

  • configuracion cuenta personal en gmail, enviar correo desde gmail, almacenar correo en gmail, configurar cuenta gmail, importar cuenta hacia gmail, configuraciones basicas
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to delete messages using WebMail

This article explains how to view and delete messages in Roundcube, and how to delete them from...

Webmail - Unable to access my messages

This article explains why Webmail might not let you view or save messages, and how to check your...

How to save copies of sent messages using Webmail

This article explains how to save a copy of sent messages in Roundcube, the hosting's current...

Catch-all mailbox (Default Address)

This article explains what a catch-all mailbox is and how to enable or disable it using cPanel's...

How to enable SpamAssassin

This article explains how to enable the spam filter in cPanel so that new messages with a high...