Petit fix esthétique sur l'envoi de transfers
This commit is contained in:
parent
1fd044082f
commit
302572c3ea
|
@ -301,7 +301,6 @@
|
||||||
public function sendTransfers ()
|
public function sendTransfers ()
|
||||||
{
|
{
|
||||||
global $db;
|
global $db;
|
||||||
|
|
||||||
$transfers = $db->getFromTableWhere('transfers', ['progress' => false]);
|
$transfers = $db->getFromTableWhere('transfers', ['progress' => false]);
|
||||||
|
|
||||||
$ids_transfers = [];
|
$ids_transfers = [];
|
||||||
|
@ -325,9 +324,7 @@
|
||||||
echo "Transfer d'un SMS du " . $received['send_by'] . " à l'email " . $user['email'];
|
echo "Transfer d'un SMS du " . $received['send_by'] . " à l'email " . $user['email'];
|
||||||
$to = $user['email'];
|
$to = $user['email'];
|
||||||
$subject = '[RaspiSMS] - Transfert d\'un SMS du ' . $received['send_by'];
|
$subject = '[RaspiSMS] - Transfert d\'un SMS du ' . $received['send_by'];
|
||||||
$message = "
|
$message = "Le numéro " . $received['send_by'] . " vous a envoyé un SMS : \n" . $received['content'];
|
||||||
Le numéro " . $received['send_by'] . " vous a envoyé un SMS\n
|
|
||||||
-----------------------------------------------------------\n" . $received['content'];
|
|
||||||
|
|
||||||
$ok = mail($to, $subject, $message);
|
$ok = mail($to, $subject, $message);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue