beyondcode / beyondcode/laravel-mailbox
Accessing the ID of an inbound email
Open
- Dominant language
- PHP
- Stars
- 1.1k
- Forks
- 127
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'd like to store some incoming mails after parsing them, but I'd like to have a reference to them in the data I create from the parsed mail. IE the model ID the InboundEmail model that I get in my Mailbox (not the mail ID).
The InboundEmail is not yet persisted once it reaches my mailbox, is there any issues with calling $inboundEmail->save(); within the mailbox?
This would allow me to get the ID and store the reference to the raw mail.
Cheers,
Contributor guide
Assessment
This issue has not been assessed yet.