I’ve been able to set up and send emails with standard PHP scripts on this server without any problems. However, trying to utilize eForm is giving me the dreaded
Main mail: Mailer was unable to send mailCould not instantiate mail function.
I’m not entirely certain how to conquer this particular problem - or where to start really.
As I said, if I simply place a php script on the server that uses the mail() function, it works like a champ. However, MODx is giving me this error message.
Any suggestions on where I can start working on this thing to sort this out?
This is on a Windows-based server, the php.ini mail function is set up to utilize SMTP - but like I said, the mail() works just fine outside of MODx.
Thanks for any help!
-
☆ A M B ☆
- 339 Posts
First of all - do you have a folder /assets/snippets/eform? Containing eform.inc.php?
That is where the snippet sends the data.
-
☆ A M B ☆
- 339 Posts
The error message: does it thell you the file and line which is producing this error?
eform uses default email in site config in &from param, be sure to check if ur host implies and restriction on FROM address. eg it must be one of domains hosted on the server.