Tenemos la mala costumbre de visitar tarde al dentista. Solemos hacerlo cuando el dolor nos corroe o la preocupación no nos deja conciliar el sueño, es decir, cuando los síntomas de que tenemos un problema de salud bucodental son ya más que evidentes. ¿Con qué frecuencia debemos visitar al dentista? ¿Es suficiente con que lo […]
Here you can administer all questions submitted by your site users.
'; if(count($result) > 0){ echo '
20/01/2014 - '.$user_name.' preguntó:
CONSULTA:
'. $question.'
RESPUESTA:
'.$response .'
Hola,
Este es un correo automatico desde '.get_bloginfo("name").'.
Tu pregunta: '.$subject.', ha sido respondida el '.date("j/F/Y", strtotime($responseDate)).'.
"'.$response.'"
'; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; //$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .="Content-type: text/html; charset=UTF-8 \r\n"; //$headers .= "Content-type: text/html; charset=utf-8\n"; //Content-Type: text/html; charset="UTF-8" // Additional headers // NOTE: If multiple admins, you need to explode here and change $headers $headers .= 'To: '.$email.' <'.$email.'>' . "\r\n"; $headers .= 'From: '.get_bloginfo('admin_email').' <'.get_bloginfo('admin_email').'>' . "\r\n"; // Mail it //die($headers); if(mail($to, $emailSubject, $message, $headers)){ return true; }else{ return false; } } /** * * Settings options page * * @param none * @return none */ function answerMyQuestionSettings() { loadMainScripts(); if($_GET['settings-updated'] == true){ echo ''.__("Settings saved").'.