Send Email Using SMTP in Joomla 4
By default in the Joomla configuration, the system will use the php mail() function to send emails. However, for the following reasons, you should switch to using SMTP to send mail:
- Server disables php mail() function
- Reduce server resources
- Suitable for sending large mails
- Reduce spam
This article will show you how to set up on Joomla 4 to send mail through the SMTP method.
1. Login to Joomla's admin page

2. At Dashboard, Go to System > Global Configuration > Server > Mail

3. Under Mail Settings, configure the following settings and then click Save:

| Mailer | Set this to SMTP | ||||||||
| SMTP Host | If your email account you're sending email from is on the same server as your Joomla site, use "localhost" here. Otherwise, enter your SMTP hostname here. | ||||||||
| SMTP Port, SMTP Security |
If your SMTP server uses SSL, select this option from SMTP Security and then enter the SSL Port required for your SMTP server. Usually, the value will look like the table below:
|
||||||||
| SMTP Authentication |
Set this to Yes |
||||||||
| SMTP Username |
Enter your SMTP Username, which generally is your full email address |
||||||||
| SMTP Password |
This will usually be your email address' password |
4. Enter the remaining parameters: From Email / From Name / Reply To Email / Reply To Name.
5. Save the configuration and press the Send Test Mail button to test this functionality. If set up correctly, an email will be sent to the address you entered in the From Email field.
Some mail configurations of popular servers:
| Hostinger |
Host: smtp.hostinger.com Username: Your full e-mail address Password: Your e-mail account password Port number: 465 Encryption: SSL/TLS |
| Bluehost |
Host: localhost | yourdomain.com Username: Your full e-mail address Password: Your e-mail account password SMTP Port: 465 Encryption: SSL/TLS |
| Inmotionhosting |
Host: secure##.inmotionhosting.com Username: Your full e-mail address Password: Your e-mail account password SMTP Port: 465 Encryption: SSL/TLS |
| Hostgator |
Host: gator##.hostgator.com Username: Your full e-mail address Password: Your e-mail account password SMTP Port: 465 |
| Dreamhost |
Host: smtp.dreamhost.com Username: Your full e-mail address Password: Your e-mail account password SMTP Port (Encryption): 465 (SSL/TLS) | 587 (STARTTLS) |
Please share this article if you find it useful!
I have been googling how to change the menu colours, as the black text on my purple background is not very readable. However everything I have tried to change the text colour of the Off-Canvas main menu text to white did not work.
Would you know what custom CSS I would need to change all menu items to white text (including submenus).
Probably need background colour to not be white when hovering over submenus
Any help you can provide would be gratefully appreciated (or a pointer to some useful help).
Thank you
see
https://siteupdate.vedicmaths.org/index.php
InPre-Update Check for Joomla 5.4.4
for Off-Canvas it says
Joomla cannot detect the extension's compatibility with the target version of Joomla.
have you implemented the compatibility stuff for Joomla to upgrade extensions correctly ?
Have got two off canvas menus working (1. for tools and 2. for main menu)
However I can only get the Main menu to display the first level of menu items.
Have you any suggestions for getting the sub menu items to display ?
N.B. the menu item with sub menu items does display a down arrow, but trying to click on it only display the item at the main menu level.
see
https://siteupdate.vedicmaths.org/index.php
If you want to see where I have currently got to