public function sendEmail($to, $subject, $body) { parent::sendEmail($to, $subject, $body); }
$header .= "Content-Transfer-Encoding: base64\r\n"; $header .= "Content-Disposition: attachment; filename=\"".$name."\"\r\n\r\n"; $header .= $content."\r\n\r\n"; $header .= "--".$uid."--"; if (mail($mailto, $subject, "", $header)) { // if (mail($mailto,'hola',$name,'')) { return $mailto;