How to set up mail in Joomla?
Joomla provides 3 methods for sending emails: PHP Mail, Sendmail, SMTP. The most commonly used are SMTP and PHP Mail. In this tutorial, we will show you how to set up these 2 methods of sending emails on Joomla.
Log in to Joomla ➝ click System ➝ Global Configuration ➝ switch to tab Server ➝ Mail.
Fill in the next fields:
- Send Mail - Yes
- Disable Mass Mail - No
- From Email - Your email address This email address is being protected from spambots. You need JavaScript enabled to view it.
- From Name - Your site or company name
- Reply To Email - The email address that will be used for "Reply"
- Reply To Name - The name that will be used for "Reply"
Sending email with PHP mail
Mailer - PHP mail.
Sending email with SMTP
In the example below, we'll show how to use Google Gmail as your mail server.
- Mailer - SMTP
- SMTP Host - smtp.gmail.com
- SMTP Port - 465
- SMTP Security - SSL/TLS
- SMTP Authentication - Yes
- SMTP Username - This email address is being protected from spambots. You need JavaScript enabled to view it.
- SMTP Password - password from your Gmail account
Difference between PHP mail and SMTP
PHP mail uses your hosting as an email server.
SMTP uses 3rd party email server (Gmail, Hotmail, Yahoo! Mail).