I've tried to replace text/html to text/plain but then I get a syntax error. Please can someone help with this. It is rather urgent.
I've tried to replace text/html to text/plain but then I get a syntax error. Please can someone help with this. It is rather urgent.
How did you make this change? Can you please provide more information?
I changed the following in the common.php
if(!GFCommon::is_valid_email($from))
return;
$content_type = $message_format == "html" ? "text/html" : "text/plain";
and then it gives the error.
I there an easier way?
Never change core code please. Check out our hook: http://www.gravityhelp.com/documentation/page/Gform_notification which allows you to change the type of e-mail sent.