Error when adding ['title'] field to an email message subject of contact form

2 posts by 2 authors in: Forums > CMS Builder
Last Post: July 28, 2015   (RSS)

By Dave - July 28, 2015

Hi Zick, 

What does this output: showme($subject);

Also, use "Reply-To: " for the user entered email and set FROM to an email on the server (like your email).  Some servers will block emails if they know the FROM address didn't originate from the server it's sent from.  Like if I enter a gmail address mail servers will know your server isn't authorized to send from random gmail addresses.

Also you might find it easier to use the sendMessage() function in /lib/common.php.  If you look in the code there's some examples on how to use it just above the function header.

Let me know how it goes.

Dave Edis - Senior Developer