Entrevista al Dr. Fernando PeyralloDirector médico de Clínica Peyrallo y Martín de las Heras. Especialista en Estomatología. Desde muy pequeño conoció su profesión desde dentro. Procedente de una familia de dentistas, el doctor Fernando Peyrallo no ha perdido su visión humanista de la odontología, en la que asegura que se funden ciencia y arte para […]
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").'.