Last modified: 2010-05-15 15:37:24 UTC
I am getting the following error when I'm trying to send out the new password. Below is the error message I recieved (I changed the actual domain name here). PLease help! Error sending mail: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "smtp.mydomain.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
Have you done as the error message suggested?
Yes I did. Below is the extract from the php.ini file: [mail function] ; For Win32 only. SMTP = smtp.mydomain.com smtp_port = 25 ; For Win32 only. sendmail_from = first.last@mydomain.com
Are you able to send mail using your own php scripts with that configuration?
Yes. Since I have Mantis installed on my system as well. And the system is able to send out the emails from the Mantis system. But I also remeber that in Mantis system there is a place where you can specify the username and the password. And where as I do not see that anywhere in the wiki directory.
I fixed it myself. Thanks.