The php mail() function to send emails from the server it's used in Joomla! 2.5 by default. IF your server does not support the php mail() function, you can configure Joomla to send email using SMTP. This method is also a good way to resolve the Could not instantiate mail funtion error. Using SMTP to send email requires that you have a valid email address, so if you haven't already, be sure to create an email address.
All done!, your Joomla 2.5 website is now configured to use SMTP! Be sure to test your site and ensure emails are sending properly.
- Log into your Joomla backend
- In the top menu, hover over Site and then click Global Configuration
- Click the Server tab
- Under Mail Settings, configure the following settings and then click Save:
- Mailer : Set this to SMTP
- SMTP Authentication : Set this to Yes
- SMTP Security & SMTP Port : If your SMTP server uses SSL, select this option from SMTP Security and then enter the SSL Port required for your SMTP server
- SMTP Username: Enter your SMTP Username, which generally is your full email address
- SMTP Password: This will usually be your email address' password
- SMTP Host : If your email account you're sending email from is on the same server as your Joomla 2.5 site, use "localhost" here. Otherwise, enter your SMTP hostname here.