SMTPDebug = SMTP::DEBUG_SERVER;
    $mail->isSMTP();
    $mail->Host       = 'smtp.mail.eu-west-1.awsapps.com';
    $mail->SMTPAuth   = true;
    $mail->Username   = 'ordini@iolovolio.com';
    $mail->Password   = 'VoliO878889+';
    $mail->SMTPSecure = "ssl";
    $mail->Port       = 465;
    $mail->setFrom('ordini@iolovolio.com', 'IoLovOlio');
    $mail->addAddress(trim($toEmail), "$toName");
    $mail->isHTML(true);
    $mail->Subject = $subject;
    $mail->Body    = $body;
    //$mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
    $mail->send();
    return true;
  } catch (Exception $e) {
    return $mail->ErrorInfo;
  }
}
function emailHeader() {
  return '
    
      
        
        
        
        
        IoLovOlio
      
      
      
      
      ';
}
function emailFooter() {
  return '
        
      
    ';
}
?>