This is something that has troubled me for at least a year or more…Joomla would refuse to send emails whatever you set in the global configuration file.
This is what I did to get it to work whether you need all the steps or not I’m not 100% sure, all I know is I can now debug from my local machine without having to dump everything on an external which quite frankly is a pain in the arse!
This is all set up with a Google mail account which seems to do the trick and using a WAMP envoirnment not tried it with any other email service. How to after the jump…
Step 1 – Edit you php.ini File
- Click your wamp manager in the system tray.. click PHP then php.ini this will open up the file to edit.
- Locate the following line of code “extension=php_openssl.dll” uncomment it (remove the ; which preceeds it)
- Locate the mail function section and amend SMTP, smtp_port & sendmail_From to the correct email settings for your account.
- If you are using Google mail this link might help
- Restart your Wamp server
Here are some images to help you with the bit above!


Step 2 – Amend your email settings in Joomla
Login to your Joomla control panel and navigate to edit “Global Configuration” and set your settings to the following;

- Mailer: SMTP Sever
- Mail from: youremail@googlemail.com
- From name: Your name
- Sendmail Path: Empty
- SMTP Authentication: Yes
- SMTP Security: SSL
- SMTP Port: 465 (“>check googlemail settings if one doesn’t work try other)
- SMTP Username: youremail@googlemail.com
- SMTP Passowrd: Google mail password
- SMTP Host: smtp.gmail.com
Post by: Richard
Tags: Email, Joomla, Joomla Email settings, Joomla Hacks, localhost, php.ini, php_openssl.dll, SMTP, WAMP
Rich,
If you set Joomla to use SMTP you can use whatever mail server you want. Essentially all you’re doing there is using the default SMTP service. If you want to enable it to run entirely local, you need to be running an SMTP mail server. Alternatively to use PHPmailer settings you’d need to configure this to use your SMTP server in the config file.
You seem to have a combination of both.
I think the only key part in getting this to run on wamp is the change in the php.ini file.