Added code to send sms when mail is sent

This commit is contained in:
Anna-Sara Sélea 2026-02-07 18:54:34 +01:00
parent 9cbd9904a2
commit 6663d95c02
2 changed files with 1 additions and 3 deletions

View file

@ -28,8 +28,6 @@ class SmsMail extends Mailable
// 1. Remove everything that is NOT a digit
$cleaned = preg_replace('/[^0-9]/', '', $phoneNumber);
info($cleaned);
// 2. Check existing prefixes and format accordingly
if (str_starts_with($cleaned, '0046')) {
// Already correct

View file

@ -1 +1 @@
<p>Hej! Du har fått mail från vBytes angående LAN 2026.</p>
Hej! Du har fått mail från vBytes angående LAN 2026.