mirror of
https://github.com/anna-sara/vbytes_lan.git
synced 2026-03-16 16:25:41 +01:00
Added code to send sms when mail is sent
This commit is contained in:
parent
9cbd9904a2
commit
6663d95c02
2 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
Loading…
Reference in a new issue