mirror of
https://github.com/quentin-g-dev/afup.git
synced 2026-04-26 02:18:02 +02:00
fix envoi mail
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Afup\Site\Utils\Mail;
|
||||
|
||||
require_once dirname(__FILE__) .'/../../../sources/Afup/Bootstrap/Http.php';
|
||||
|
||||
if (
|
||||
@@ -15,6 +17,7 @@ if (
|
||||
}
|
||||
|
||||
|
||||
mail($_GET['email'], 'Lien paiement elephpant', 'https://afup.org/event-payment/index.php?ref=' . $_GET['ref'] . '&forum=' . $_GET['forum']);
|
||||
$mail = new Mail();
|
||||
$mail->sendSimpleMessage('Lien paiement elephpant', 'https://afup.org/event-payment/index.php?ref=' . $_GET['ref'] . '&forum=' . $_GET['forum'], ['email' => $_GET['email'], 'name' => $_GET['email']]);
|
||||
|
||||
echo 'mail envoyé';
|
||||
echo 'mail envoyé sur ' . $_GET['email'];
|
||||
|
||||
Reference in New Issue
Block a user