I’m new to EE 2.x, but have built a few sites with EE 1.x. I have a site that works great as a stand-alone install (sans EE), but my PHP mail form chokes with EE 2.1. I’ve used the included EE email module in the past (EE 1.x), but would prefer to use my current code on this one if possible, so I’m hoping it’s something simple. Otherwise, I’ll go with the EE mail option and figure out how to get what I need from it.
My form has a textarea with fsendmail used as the message handler variable. The error I’m getting is:
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: fsendmail
Filename: libraries/Functions.php(640) : eval()‘d code
Line Number: 116
Is there a simple solution or minor hack to fix this? Can we define the variable in Functions.php? I use this script on several sites and prefer the message style and the way validation alerts are handled, etc. Barring its use I suppose I can go to js for the alerts, but prefer to avoid it if possible.
Thank you.