<?php

$mail = new PHPMailer;

// Configuration du SMTP
$mail->IsSMTP();
$mail->Host = 'smtp-in.oximailing.com';
$mail->Port = 587;
$mail->SMTPAuth = true;
$mail->Username = 'BNCx6kLkQZxXYRAZrYVw';
$mail->Password = 'xoSAgSV6MrP568KqC3FM';
$mail->SMTPSecure ='tls';
$mail->DKIM_domain = 'deciday.fr';
$mail->DKIM_selector = 'oximailing';
$mail->DKIM_identity = $mail->From;
$mail->Encoding = "base64";

// Entête de l'email
$mail->From = 'inscriptions@deciday.fr';
$mail->FromName = utf8_decode("DECIDAY!");