Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get mail source using Zend_Mail

How can I get mail source (headers, body, boundary - all together as a plain text) using Zend_Mail (POP3).

It returns parsed parts by default, I need the raw message source.

like image 793
Sfisioza Avatar asked Aug 24 '11 06:08

Sfisioza


1 Answers

There's no such method in Zend Mail.

But you may look at the class sources and see how to send a direct command to the mail server to get the message source.

like image 146
takeshin Avatar answered Sep 28 '22 00:09

takeshin