Comments (4)
Is this project maintained?
I want to use it, but ... cannot use it if its not maintained.
from laravel-mailbox.
I had the same issue. It looks like Symfony mailer changed syntaxis (https://laracasts.com/discuss/channels/laravel/body-must-be-of-type-mimepartabstractpart-string-given).
@rtconner @mathewparet in case you haven't found a solution yet - here is what i did. It kinda works like a forward solution...
public function forwardToAdmin(InboundEmail $email): void
{
Mail::to(config('app.admin.email'))->send(new ForwardEmail($email));
}
class ForwardEmail extends Mailable
{
use Queueable, SerializesModels;
public function __construct(public InboundEmail $inboundEmail)
{
}
public function envelope(): Envelope
{
return new Envelope(
subject: "FROM: " . $this->inboundEmail->fromName() . " (" . $this->inboundEmail->from() . ") - " . $this->inboundEmail->subject(),
);
}
public function content(): Content
{
return new Content(
htmlString: $this->inboundEmail->html()
);
}
public function attachments(): array
{
return $this->inboundEmail->attachments();
}
}
from laravel-mailbox.
Related Issues (20)
- Class 'BeyondCode\Mailbox\Facades\Mailbox' not found HOT 4
- laravel 9 and php 8.1 support HOT 1
- BeyondCode\Mailbox\InboundEmail::id must return a relationship instance.
- Subfolder HOT 1
- Laravel 9 missing on packagist (failed deploy?) HOT 6
- 302 redirection for inbound email handling for real emails using Mailgun HOT 1
- Solve External report
- Amazon SES support? HOT 2
- Can't catch message using the Log driver
- Package require dompdf/dompdf ^1.2 but it has security vulnerability problem.
- Mailgun - HTTP webhook signing key instead of API key HOT 5
- Mailbox routes missing in production: Mailgun 404 HOT 1
- Unable to resolve NULL driver for [BeyondCode\Mailbox\MailboxManager] HOT 1
- Mandrill Driver
- Get mail from mailgun encoded HOT 1
- hash_equals() error since last night HOT 1
- Timestamp verification for Mailgun fails with large volumes for HOT 1
- how to get forwarded to address from email header
- How can we store attachments using Spatie Medialibrary? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-mailbox.