How to connect your CMS to SMTP email
Most Content Management Systems (CMS) have the ability to set up the email configuration to use SMTP instead of the PHP mail function. This allows you to send email from your server using an SMTP connection like for your Gmail or Yahoo email address. This works similar to a email client like Outlook or Mac mail, except the email is being sent from your website.
On some servers the PHP mail function is disabled requiring your CMS to be set up as SMTP. When using the PHP email function, the server will send your email with nobody@ or userna5@ as the sending email address. To allow your website to send from a specific email address, you can use the SMTP server configuration. For more information on email set up for your email with us, please see the Getting Started Guide: Email. The following explains the basic SMTP settings found in most Content Management Systems.
General SMTP server configuration settings for a CMS
|Common SMTP settings|
|E-Mail Transport Method SMTP:||This is the method in which the website is sending the email. You can choose SMTP or SMTPAUTH in your CMS email configuration. SMTPAUTH will authenticate the email from the server where SMTP sends as the cpanel user.|
|SMTP Email Account Mailbox:||This is the email account your are sending from. If you are using Gmail or Yahoo, you will put that email address in here. For example; firstname.lastname@example.org or email@example.com.|
|SMTP Email Account Password:||This is the password for your specific email address. For example, If using your Gmail or Yahoo, you would put the Gmail or Yahoo email password here.|
|SMTP Email Mail Host:||
The email host is your server host for the email address. If you are sending with Gmail or Yahoo, you will use their server host to connect. Click here for Googles settings. Click here for Yahoo settings.
For SMTP set up with an email address on your server with us, you will use "localhost".
|SMTP Email Mail Server Port:||The server will use port 25 for SMTP by default. If using an SSL connection you can use port 465 or you can use port 587 on a TLS depending on the email provider.|
General SMTP set up CMS admin location
Below are some Content Management System (CMS) SMTP configuration locations in the administrator sections of the CMS. The list is not exhaustive and is only to show basic locations where you can find the SMTP configuration for the specified software.
ZenCart: Admin > Configuration > Email Options
Prestashop: Admin > Preferences > Email tab
Open cart: Admin > Settings > Mail
OS Commerce: Admin > Configuration > Email
Further reading: Setting up SMTP with OsCommerce
Joomla: Site > Global Configuration > Server tab > Mail Settings
Further reading: How to configure Joomla 2.5 to send email using SMTP
Moodle: Site administration > Plugins > Message outputs > Email
Further reading: Setting up an SMTP connection in Moodle
For more specific information in regarding your SMTP configuration in your Content management System that you are using, you will want to consult the documentation from the CMS developers.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
Post a Comment
Do you want to publish a tutorial to our support center?