How to connect Siteground email to your contact form
Your Siteground email account can receive messages from your website's contact form by configuring the form to use your email's SMTP server — the system that actually sends the message. Most contact form plugins (like WPForms, Contact Form 7, or Gravity Forms) have a settings area where you enter your Siteground email address, password, and server details. Once you add these four pieces of information, messages submitted through your form will arrive in your Siteground inbox instead of disappearing into the void.
The process takes about ten minutes and requires you to know your email password and your Siteground account details. If you have never set up SMTP before, the steps below walk you through exactly where to find each piece of information and where to enter it.
Key Takeaways
- You need your Siteground email address, password, SMTP server address, and port number — all found in your Siteground control panel under Email Accounts.
- Your contact form plugin must have an SMTP or email settings section where you paste these four details.
- The SMTP server address for Siteground is always mail.yourdomain.com, where yourdomain is replaced with your actual domain name.
- Port 465 with SSL encryption is the most reliable setting for Siteground email, though some plugins may ask for port 587 instead.
- After you save the settings, send a test message through your contact form to confirm the email arrives in your inbox.
Find your Siteground email credentials in the control panel
Log into your Siteground account at siteground.com and click on the domain name you want to use. In the left sidebar, click Email Accounts. You will see a list of all email addresses set up for that domain.
Find the email address you want to use for contact form messages and click on it. A panel will open showing the account details. Write down or copy the following information: the email address itself, your password (if you do not remember it, click the eye icon to reveal it), and the server address. For Siteground, the SMTP server is always mail.yourdomain.com, where yourdomain is your actual domain name — for example, mail.example.com.
You will also need the port number. Siteground uses port 465 with SSL encryption for secure connections. Some older contact form plugins may ask for port 587 instead, which also works, but 465 is the standard Siteground setting.
Locate the SMTP settings in your contact form plugin
The exact location of email settings depends on which contact form plugin you are using. In WPForms, go to Settings > Emails and look for a section called "From Email" or "SMTP". In Contact Form 7, you may need to install a separate plugin like WP Mail SMTP to handle SMTP configuration. In Gravity Forms, go to Settings > Email and look for "SMTP" or "Mail Server".
If you cannot find an SMTP section in your plugin, you may need to install a dedicated email plugin like WP Mail SMTP or Mailgun. These plugins sit between your contact form and your email server and handle the connection for you. WP Mail SMTP is free and works with nearly every contact form plugin.
Once you find the SMTP settings area, you will see fields for Server Address, Port, Username, and Password. Some plugins call these fields different names — "Mail Server" instead of "Server Address", or "SMTP Port" instead of "Port" — but the idea is the same.
Enter your Siteground details into the contact form
In the SMTP settings area, enter the information you copied from Siteground:
- Server Address (or Mail Server): mail.yourdomain.com
- Port: 465
- Username: Your full email address (for example, contact@example.com)
- Password: The password you found in the Siteground control panel
- Encryption: SSL (if your plugin asks for this separately)
Do not use just the first part of your email address as the username — use the full email address including the domain. This is a common mistake that causes the connection to fail.
After you enter all four pieces of information, look for a button that says "Save Settings" or "Test Connection". Click it. If your plugin has a test button, use it now — it will tell you immediately whether the connection works.
Test the connection by sending a message through your form
The most reliable test is to actually submit a message through your contact form and check whether it arrives in your Siteground email inbox. Go to the page where your contact form appears on your website, fill it out with a test message, and click Submit.
Check your Siteground email inbox (or your spam folder, in case the message was filtered). The message should arrive within a few seconds. If it does not appear after two minutes, go back to your contact form settings and double-check that you entered the server address, port, username, and password exactly as they appear in Siteground — even a single typo will break the connection.
If the message still does not arrive, check your Siteground email account to make sure it is active and not suspended. You can do this by logging into webmail.siteground.com directly with your email address and password. If you can log in there, the account is active and the problem is in your contact form settings.
Troubleshoot if emails are not arriving
If you have entered all the details correctly but emails still are not coming through, the most common causes are a typo in the server address, an incorrect port number, or SSL encryption not being enabled. Start by re-entering the server address character by character — mail.yourdomain.com is easy to mistype.
If you are using port 587 instead of 465, try switching to 465. If your plugin asks for an encryption method, make sure SSL is selected, not TLS. Some plugins use different names for these options, so look for "Secure Connection" or "Use Encryption" and make sure it is turned on.
If you have checked everything and emails still are not arriving, try installing WP Mail SMTP as a separate plugin. It handles the email connection independently of your contact form plugin and often resolves issues that the contact form's built-in SMTP settings cannot. WP Mail SMTP is free and will not conflict with your existing contact form.
Prevent contact form emails from going to spam
Even after you connect your email successfully, messages may land in your spam folder instead of your inbox. This happens because email servers check whether the message is coming from a legitimate source. To reduce spam filtering, make sure your contact form is sending emails from your Siteground email address, not from a generic "noreply" address.
In your contact form settings, look for a field called "From Email" or "Sender Email". Set this to your Siteground email address (the same one you used as the username in SMTP settings). This tells receiving email servers that the message is coming from a real account on your domain, which makes it much more likely to reach the inbox.
You can also set up SPF and DKIM records in your Siteground DNS settings to further improve deliverability, but this is optional. For most websites, simply sending from your Siteground email address is enough to keep messages out of spam.
Frequently Asked Questions
What if I do not know my Siteground email password?
Log into your Siteground control panel, go to Email Accounts, click on the email address, and click the eye icon next to the password field to reveal it. If you have forgotten your Siteground account password entirely, use the "Forgot Password" link on the Siteground login page to reset it.
Can I use a Gmail or Outlook email address instead of my Siteground email?
Yes, but you will need to use that email provider's SMTP server instead of Siteground's. For Gmail, the server is smtp.gmail.com and port 587. For Outlook, it is smtp-mail.outlook.com and port 587. You will also need to generate an app-specific password in your Gmail or Outlook security settings rather than using your regular password.
Why are my contact form emails going to spam?
Make sure the "From Email" field in your contact form is set to your Siteground email address, not a generic address. Also check that you are using port 465 with SSL encryption, not port 587. If emails are still being filtered, ask your email provider (or Siteground support) whether your domain's IP address is on any spam blacklists.
Do I need a separate plugin if I am using WPForms?
No. WPForms has built-in SMTP settings, so you can enter your Siteground details directly in the plugin without installing anything else. Contact Form 7 does not have built-in SMTP, so you will need WP Mail SMTP or a similar plugin for that one.
What does the port number do?
The port is the communication channel your contact form uses to send the email to Siteground's server. Port 465 is the standard secure port for email. Port 587 also works but is slightly less common. You should not need to change this unless Siteground tells you to.