Send an email
Use Queuebeam for provider retries, failover evidence and delivery history.
Queuebeam::email()
->provider('primary-mail')
->failover(['postmark-backup', 'ses-eu'])
->to('customer@example.com')
->from('orders@your-app.com')
->subject('Your order has shipped')
->html($html)
->text($plain_text)
->metas(['order_id' => 8472])
->idempotencyKey('email-order-8472')
->dispatch(throws: false);