Hi,
I setup my site with MODx a few months ago and everything has been fine however I just noticed that the ’reset login’ form has started to return an error but only when a known email is entered. If unknown it returns the correct response. This is the error:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
Error type/ Nr.: Warning - 2
File: C:\wamp\www\assets\snippets\weblogin\weblogin.processor.inc.php
Line: 105
Line 105 source: if(!mail($email, "New Password Activation for $site_name", $message, "From: ".$emailsender."\r\n"."X-Mailer: MODx Content Manager - PHP/".phpversion())) {
Parser timing
MySQL: 0.0334 s (7 Requests)
PHP: 1.0179 s
Total: 1.0513 s
Could anyone tell me what this is and how to fix it?
To be honest I’ve forgotten the versions of MODx, Apache, PHP and MySQL that I’m running as I haven’t touched it in months but it was the latest versions of each at that time (around June if that helps at all). I’m away from the server at the moment so I can’t check.
Thank you for your time.