Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Open
Description
Description
As of 7.0, Message can be converted to string (mime) but the reverse way cannot be done (if I'm not mistaken).
In order to process emails on mailboxes, as a developer, I would be able to convert mime string to email message.
Example
For instance, bothGoogle andMicrosoft allow to fetch emails and get them in RFC 2822 format.
<?php$parser =new \Symfony\Mime\Parser\Rfc2822MessageParser();$message =$parser->parse($mime);// Message / Email / DraftEmail