Addresses of the internal communication in the admin (notification recipients, contact/reply-to, sender)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
749537342e
commit
0c98d82cf2
20 files changed
+165
-20
No files matched your search
@@ -6,6 +6,7 @@
|
||||
use App\Exceptions\ReservationException;
|
||||
use App\Mail\OfferAnswered;
|
||||
use App\Models\Booking;
|
||||
use App\Support\Settings;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Throwable;
|
||||
|
||||
@@ -34,7 +35,7 @@ public function handle(Booking $booking, int $offerVersion): void
|
||||
]);
|
||||
|
||||
try {
|
||||
Mail::to(config('fewo.notification_email'))->send(new OfferAnswered($booking, accepted: false));
|
||||
Mail::to(Settings::notificationRecipients())->send(new OfferAnswered($booking, accepted: false));
|
||||
} catch (Throwable $exception) {
|
||||
report($exception);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user