summaryrefslogtreecommitdiffstats
path: root/maildrop/messageinfo.h
blob: 450ca4948a8ccc39852c8d52f3602a22f3832ebd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef	messageinfo_h
#define	messageinfo_h


#include	"config.h"
#include	<sys/types.h>
#include	"buffer.h"

class	Message;

///////////////////////////////////////////////////////////////////////////
//
//  The MessageInfo class collects information about a message - namely
//  it extract the email address from the Return-Path: header, if present.
//
///////////////////////////////////////////////////////////////////////////

class	MessageInfo {
public:
	Buffer fromname;	// Envelope sender

	MessageInfo() {}
	~MessageInfo()			{}

	void	info(Message &);
	void	filtered() {}
} ;
#endif