How to Configure SMTP Email for MODX

The default option that MODX uses to send email is the PHP Mail function. This option is located within the System Settings for MODX in the MAIL area. In order to change how MODX sends mail, you can activate the SMTP settings in this area. The following article shows how to find and configure the settings for SMTP email in MODX.

Setting up SMTP Email in MODX

Hover over the menu bar at the top of the screen where it is labeled SYSTEM. Click on SYSTEM SETTINGS when the drop-down menu appears.

Click on the option at the top of the screen that says FILTER BY AREA. Click on MAIL when it appears in the drop-down menu. By default, the mail option in the menu will appear as Mail(13). This identifies the number of settings available in that area. You will see the following:

To change MODX so that it is using SMTP, go to the last setting (as per the screenshot above). Double-click where it shows "No" and the field will change so that you can change it. Click on it once again, and you will see a drop-down menu where you can select "Yes". Click on YES so that MODX is using SMTP instead of the PHP mail function send email.

As per the screenshot above, you can see that there are twelve other settings that can be set for SMTP. If you are using SMTP, you will need to obtain your settings from your web host if you are unfamiliar with the settings. If you are hosting with Web Hosting Hub, you can find information about the SMTP settings here: How to find your email settings. Double-click on each setting in the VALUE column in order to change the setting.

Note that as you enter the setting, MODX automatically saves the change for you.

There are variety of options for sending email available in MODX. In order to insure proper delivery of email, make sure that you correctly obtain the configuration settings (values in the MODX System Settings) from your hosting service if you intend to use a SMTP server.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)

The article is too difficult or too technical to follow.
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.

How did you find this article?

Please tell us how we can improve this article:

Email Address

Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!