Roundcube Community Forum

 

Date does not appear

Started by crani0, June 18, 2014, 12:34:56 PM

Previous topic - Next topic

crani0

Hi everyone, i have a website with a standard contact form in html and php, sending the information to my roundcube email account. Everything works fine except the date of the emails, it doesn't appear on my inbox. I tried to research a solution for my php code but with no luck so far. I don't know if there is a Date attribute for the header. Anyone knows how to fix this on roundcube? or php?

SKaero

Make sure date.timezone is set in the php.ini.

crani0

Thanks for the quick reply but what do you mean by php.ini? I only have a form_process.php on my website root folder, and i've already insert the date.timezone.set on my code, i got it to appear on the email body message, but the header is still blank.

SKaero

The php.ini is where the php settings are stored, contact your host and ask them to change it if you don't have access to it.