i used login module in my webpage. in that by clicking on 'forgot password?' i need to give an email-address but by clicking on Send button the error is 'could not install mail function'. so, please give suggestion, my web page is running on localhost.
how to send email in joomla if my webpage is run on localhost?
791 Views Asked by Denish At
2
There are 2 best solutions below
0
On
If you are in a Windows platform try the following:
- Open the php.ini file. For XAMPP, it is located in C:\XAMPP\php\php.ini
- Change the localhost to the smtp server name of your ISP. Leave smtp_port as 25.
- Change sendmail_from from [email protected] to your domain email address which will be used as the from address
- Restart XAMPP or WAMP (apache server)
- Try to send the mail using the mail() function
I think it should solve your problem.
It appears your computer's version of php does not have working mail. I would suggest you A: reinstall joomla, B: find the hash function in the php and replace the old password hash with a new one, or C: find a mail plugin for your version of xamp/wamp/whatever.