2
// User: kraut (c.franke@muenchen-mail.de) at 22:23 21.02.2008
6
using System.Collections.Generic;
9
namespace Do.Addins.DoXesam
11
class BeagleEmailItem: XesamEmailItem {
12
protected string to_name;
13
protected string from_name;
14
protected string isent;
15
protected string isanswered;
17
//protected string folder;
18
protected string client; //can be usefull to open email with an outher mailclient
19
//protected string stock_mail_replied;
20
//protected string stock_mail_open;
21
//protected string stock_mail;
24
public BeagleEmailItem (Dictionary<string,string> fields):base(fields)
27
this.from_name= fields["beagle:from_name"];
28
this.to_name=fields["beagle:to_name"];
29
this.isent=fields["beagle:isSent"];
30
this.isanswered=fields["beagle:isAnswered"];
32
//this.folder=fields["beagle:folder"];
33
this.client=fields["beagle:client"];
35
//this.stock_mail_replied=fields["beagle:stock_mail-replied"];
36
//this.stock_mail_open=fields["beagle:stock_mail-open"];
37
//this.stock_mail=fields["beagle:stock_mail"];
40
/*public override string Name {
46
public override string Description {
48
if(base.from =="" & base.subject =="" & base.exactfilename!="")
49
return "Attachment: "+base.url;
50
else if(base.subject=="")
59
public override string Icon {
63
if(this.isanswered =="true")
65
icon="stock_mail-replied";
66
}else if(base.isread !=""){
67
icon="stock_mail-open";