Joomla 4 – Configuring Email Sending with SMTP Authentication

oomla, by default, sends emails using the mail() function, which can cause many issues and often results in undelivered messages.

This guide will describe how to configure email sending through SMTP.

First, you need to log in to your Joomla backend by navigating to domain-client.eu/administrator (replace domain-client.eu with your domain name).

On the opened page, enter your Joomla username and password.

After logging into the admin panel, you need to click the “System” option from panel on the left, and then select “Global Configuration”.

Next, select the “Server” tab.

In the “Mail” segment, set “Mailer” to SMTP, and then set “SMTP Authentication” to “Yes.”

Next, fill in the remaining configuration fields.

From Email: The email address entered as the sender in the “From” field,

From Name: The name of the sender in the ‘From’ field,

Reply to Email: If the reply-to address should be different from the one above, you can enter it in this field. If it is the same, you can leave this field empty,

SMTP Host: Enter your mail server in the format mail.yourdomain.com (replace “yourdomain.com” with your actual domain name),

SMTP Port: 465,

SMTP Security: SSL/TLS,

SMTP Username: Enter the full address of your email account,

SMTP Password: Enter the password for the above email account.

Finally, click the “Save” button on the left side of the top bar.

If the configuration has been done correctly, emails should now be sent using SMTP authentication.

Konrad