I was trying to find a simple way to configure email for Joomla on a Windows XP laptop I'm using for development and all the hints I could find involved downloading and installing mail servers.
Here's a way to configure email that will work on your development system and as well as your production system (although it may not be the most efficient way to use email on a production server)
The simple way to configure email for use on a Windows server (it should also work on Linux) is to use Joomla's Global Configuration (Site menu / Global Configuration) and then click the Mail tab. Here are the steps to follow then:
1. Set Mailer
to SMTP Server
. This configuration lets you use your ISP's SMTP server.
2. Set Mail From
to the email address you want all email from your site to look as if it came from this address (maybe: email@example.com
if you don't want replies or firstname.lastname@example.org
-- obviously change yoursite to your site name). This address is really a Reply To
address and does not
have to be the email address that is used to do the actual send.
3. Set the From Name
to be your Web site name or any other name you want as the user name that sent the email.
4. Make sure the Sendmail Path
5. If you ISP requires you to login in before sending email (almost all do these days) then set SMTP Auth
by clicking the radio button, otherwise click the No
6. Set the SMTP User
to the real user name established at your ISP that you will use to send the email from. It is common for ISPs to require a domain name as part of the address. For example, you might set the SMTP User to email@example.com
. Take care that this name will be exposed in the mail headers so you could get spam as a result. Think about setting up a NoReply user at your ISP for sending emails for which you don't want a user to reply to the sending address. This address may be the same as the Mail From address but it doesn't have to be.
7. Set the SMTP Pass
to the password the user in #6 uses to sign in to retrieve email.
8. Set the SMTP Host
to the SMTP host your ISP gave you. For example, smtp.yoursite.com where "yoursite.com" is replaced by your domain name. Some ISPs require you to use a different SMTP port number than the standard port 25. You can specify this by putting a colon (a : ) after the domain name and then the port number. For example, if you ISP requires you to use port 698 to retrieve email you would specify this as follows: smtp.yoursite.com:698
9. Click the Save button at the top of the page to save your configuration.
That's it. You can test the email is working by going to any news item (or any other part of your site) and click the "email" link or icon. Fill in your own email address as to where you want to send the item and the rest of the form. You should get the test message.
Hope this helps.