/home/techb158/exp.abdallabala.com/vendor/symfony/mime/Part
NameSizeModeActions
Multipart/-0755rm
AbstractMultipartPart.php23450644editdlrm
AbstractPart.php15150644editdlrm
DataPart.php48250644editdlrm
MessagePart.php12610644editdlrm
SMimePart.php27750644editdlrm
TextPart.php60010644editdlrm
Edit: /home/techb158/exp.abdallabala.com/vendor/symfony/mime/Part/MessagePart.php (1261B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mime\Part; use Symfony\Component\Mime\Message; use Symfony\Component\Mime\RawMessage; /** * @final * * @author Fabien Potencier */ class MessagePart extends DataPart { private $message; public function __construct(RawMessage $message) { if ($message instanceof Message) { $name = $message->getHeaders()->getHeaderBody('Subject').'.eml'; } else { $name = 'email.eml'; } parent::__construct('', $name); $this->message = $message; } public function getMediaType(): string { return 'message'; } public function getMediaSubtype(): string { return 'rfc822'; } public function getBody(): string { return $this->message->toString(); } public function bodyToString(): string { return $this->getBody(); } public function bodyToIterable(): iterable { return $this->message->toIterable(); } }