TetraHost Bangladesh

The Official Company Blog

  • Home
  • Blog
  • Home
  • About Us
  • Contact Us

TetraHost Bangladesh

The Official Company Blog

  • Home
  • Blog
  • Home
  • About Us
  • Contact Us

Tag Archives: cPanel Email Setup

17 Oct

How to Send Email Using SMTP Authentication on a WordPress Site

One of the key features offered by web hosting servers is the ability to send emails. These can be utilized through email accounts created via cPanel’s Email Accounts feature, accessible through Webmail, or by integrating with web scripts.

While PHP provides a built-in mail() function for sending emails without authentication, this method is highly insecure. It can easily be exploited by malicious users or bots, leading to unauthorized email activity. For this reason, we have disabled the mail() function on our servers.

To send emails securely using our servers, you’ll need to configure SMTP Authentication in your web application. Today, we’ll walk you through the process of setting up SMTP authentication for a WordPress website.

What is SMTP Authentication?

SMTP (Simple Mail Transfer Protocol) Authentication ensures that the script sending the email is authorized to do so by verifying credentials such as a hostname, email address, and password. This process not only adds a layer of security but also reduces the risk of spam and unauthorized email activity.

Steps to Configure SMTP on WordPress

1. Create an Email Account in cPanel

The first step is to create an email account in cPanel:

  1. Log in to your cPanel.
  2. Navigate to Email Accounts under the Email section.
  3. Create a new email account and note down the credentials (email address and password) for later use.

2. Install the WP Mail SMTP Plugin

Next, you’ll need to install a WordPress plugin to handle SMTP functionality. We recommend using the WP Mail SMTP plugin, one of the most popular and easy-to-use plugins for this purpose.

  1. Log in to your WordPress admin dashboard.
  2. Go to Plugins > Add New.
  3. Search for WP Mail SMTP and install the plugin.
  4. Activate the plugin.

The plugin includes a helpful setup wizard to guide you through the configuration process.

3. Configure SMTP Using the Setup Wizard

  1. Launch the Setup Wizard.
  2. On the first step, choose Other SMTP and click Save and Continue.
  3. In the SMTP settings, enter the following:
    • SMTP Host: Your domain name (e.g., mail.yourdomain.com).
    • Encryption: Set to TLS.
    • SMTP Port: 587.
    • Authentication: Enabled.
  4. Enter your SMTP Username (your full email address) and SMTP Password (the password you created for the email account).
  5. Set From Name to your website or company name.
  6. Set From Email to the email address you just created.
  7. Click Save and Continue.

4. Final Steps in the Setup Wizard

  • Step 3: No further setup is required. Simply click Save and Continue.
  • Step 4: You can skip the step for configuring additional mailer services by clicking Skip this Step.
  • Step 5: If you don’t have a license for the plugin’s Pro features, you can skip this step as well.

The plugin will then verify your SMTP settings. If everything is correct, you’ll see a confirmation message: “Congrats, you’ve successfully set up WP Mail SMTP!”

5. Send a Test Email

Once the setup is complete, you can send a test email to verify that everything is working correctly:

  1. Go to WP Mail SMTP > Tools.
  2. Enter the email address where you want to send the test email and click Send Test Email.

If the test email is successfully delivered, you’re all set!

Conclusion

By following these steps, you’ve successfully set up SMTP authentication on your WordPress site, ensuring that all outgoing emails are properly authenticated. This setup not only enhances security but also improves deliverability, ensuring that your emails are less likely to end up in spam folders.

aDmin Posted in How To, Main, Security cPanel Email Setup, Email Configuration in WordPress, Email Security for WordPress, PHP Mail Alternatives, Secure Email Sending, SMTP Authentication, Website Email Authentication, WordPress Email Setup, WordPress SMTP Guide, WP Mail SMTP Leave a comment
19 Sep

How to Set Up Your cPanel Email in Gmail (Webmail)

In this guide, we’ll walk you through the steps to configure your cPanel email account with Gmail. This allows you to check and send emails from your cPanel email directly through Gmail.

For the purpose of this tutorial, we will use email@setup-cpanel-webmail-gmail.com as an example. Be sure to replace it with your actual email account settings.

Step 1: Log into Your Gmail Account

  1. Go to gmail.com and log into your existing Gmail account.
  2. Once logged in, click the gear icon at the top-right corner to open the Quick Settings menu.
  3. Select See all settings.

Step 2: Add Your cPanel Email Account

  1. Navigate to the Accounts and Import tab at the top of the settings page.
  2. Look for the section labeled Check mail from other accounts and click Add a mail account.
  3. A pop-up window will appear. If not, check your browser’s pop-up blocker settings.

Step 3: Enter Your cPanel Email Address

  1. In the pop-up, enter your cPanel email address (e.g., email@setup-cpanel-webmail-gmail.com), then click Next.
  2. Choose the Import emails from my other account (POP3) option, then click Next.

Step 4: Configure Incoming Mail Settings

On the next screen, you’ll need to input your email server details. Use the following settings:

  • Username: Your full email address (e.g., email@setup-cpanel-webmail-gmail.com)
  • Password: The password associated with your cPanel email
  • POP Server: mail.yourdomain.com (replace yourdomain.com with your actual domain)
  • Port: 995
  • Always use a secure connection (SSL) when retrieving mail – Ensure this is checked.

Once you’ve entered these settings, click Add Account.

Step 5: Configure Outgoing Mail (Optional)

If you want to send emails from Gmail using your cPanel address, select Yes, I want to be able to send mail as…, and click Next.

  1. In the next window, confirm the name you want to appear when sending emails.
  2. Decide whether to treat this as an alias. If you want to send replies from the same cPanel address, uncheck Treat as an alias.
  3. Click Next Step.

Step 6: Configure SMTP Settings

You’ll now need to configure the SMTP settings to allow Gmail to send emails through your cPanel account:

  • SMTP Server: mail.yourdomain.com
  • Port: 465 (for SSL)
  • Username: Your full email address (e.g., email@setup-cpanel-webmail-gmail.com)
  • Password: Your email account password
  • Secure connection: Choose SSL.

Click Add Account once everything is filled in.

Step 7: Verify Your Email Address

Google will send a confirmation code to your cPanel email account. Log into your webmail or check it via your Gmail inbox (if the POP settings have synced), find the email, and copy the verification code.

Enter this code into Gmail, then click Verify.

Step 8: You’re All Set!

Now that your cPanel email is connected to Gmail, you can send and receive emails using your cPanel address directly from your Gmail inbox. When composing a new email, simply select which address you want to send from using the drop-down next to the “From” field.


Default Email Account Settings (cPanel Email)

Here are the default server settings you will need:

  • Username: Your full email address
  • Password: Your email account password
  • Incoming Mail Server:mail.yourdomain.com
    • POP3 Port: 995 (SSL)
    • IMAP Port: 993 (SSL)
  • Outgoing Mail Server (SMTP):mail.yourdomain.com
    • SMTP Port: 465 (SSL)

Make sure authentication is required for both incoming and outgoing servers.


If you need further assistance with setting up your cPanel email in Gmail, feel free to contact our support team by opening a ticket through your client dashboard.

aDmin Posted in How To, Main cPanel Email Setup, cPanel to Gmail, Email Forwarding, Gmail Integration, Gmail Settings, POP3 Email Setup, SMTP Configuration, Webmail Configuration Leave a comment

Post navigation

Fruitful theme by fruitfulcode Powered by: WordPress
↑