|
a/src/internfile/mh_mail.h |
|
b/src/internfile/mh_mail.h |
|
... |
|
... |
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _MAIL_H_INCLUDED_
|
17 |
#ifndef _MAIL_H_INCLUDED_
|
18 |
#define _MAIL_H_INCLUDED_
|
18 |
#define _MAIL_H_INCLUDED_
|
19 |
/* @(#$Id: mh_mail.h,v 1.11 2006-12-16 15:39:54 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: mh_mail.h,v 1.12 2007-10-17 11:40:35 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
|
20 |
|
21 |
#include <sstream>
|
21 |
#include <sstream>
|
22 |
#include <vector>
|
22 |
#include <vector>
|
23 |
using std::vector;
|
23 |
using std::vector;
|
24 |
|
24 |
|
|
... |
|
... |
54 |
|
54 |
|
55 |
private:
|
55 |
private:
|
56 |
bool processMsg(Binc::MimePart *doc, int depth);
|
56 |
bool processMsg(Binc::MimePart *doc, int depth);
|
57 |
void walkmime(Binc::MimePart* doc, int depth);
|
57 |
void walkmime(Binc::MimePart* doc, int depth);
|
58 |
bool processAttach();
|
58 |
bool processAttach();
|
59 |
Binc::MimeDocument *m_bincdoc;
|
59 |
Binc::MimeDocument *m_bincdoc;
|
60 |
int m_fd;
|
60 |
int m_fd;
|
61 |
std::stringstream *m_stream;
|
61 |
std::stringstream *m_stream;
|
62 |
int m_idx; // starts at -1 for self, then index into
|
62 |
int m_idx; // starts at -1 for self, then index into
|
63 |
// attachments;
|
63 |
// attachments;
|
|
|
64 |
string m_subject;
|
64 |
vector<MHMailAttach *> m_attachments;
|
65 |
vector<MHMailAttach *> m_attachments;
|
65 |
};
|
66 |
};
|
66 |
|
67 |
|
67 |
class MHMailAttach {
|
68 |
class MHMailAttach {
|
68 |
public:
|
69 |
public:
|
69 |
string m_contentType;
|
70 |
string m_contentType;
|