Méthode | Description | |
---|---|---|
Convert ( MailMessage mailMessage ) : Entities.MailMessage |
Converts Input.MailMessage to Entities.MailMessage. If sender or receivers isn't exist then they will be added to repository If email forwarded then sender will be taken from body MailMessageParserThunderbird
|
|
MailMessagePersister ( IRepository repository, IEmailClient emailClient, IInquiryFactory inquiryFactory, IMailMessageParserFactory mailMessageParserFactory ) : System | ||
ProcessMessage ( object sender, |
Méthode | Description | |
---|---|---|
AddNewPersonToRepository ( System.Net.Mail.MailAddress mailOfPerson, System.DateTime dateOfIncomingMail ) : |
Create new person in repository
|
|
createInquiry ( Entities convertedMessage ) : void | ||
isForwardedMailMessage ( MailMessage mailMessage ) : bool |
Returns true if mail message have fwd: or fw: in subject
|
public Convert ( MailMessage mailMessage ) : Entities.MailMessage | ||
mailMessage | MailMessage | Input.MailMessage type of message |
Résultat | Entities.MailMessage |
public MailMessagePersister ( IRepository repository, IEmailClient emailClient, IInquiryFactory inquiryFactory, IMailMessageParserFactory mailMessageParserFactory ) : System | ||
repository | IRepository | |
emailClient | IEmailClient | |
inquiryFactory | IInquiryFactory | |
mailMessageParserFactory | IMailMessageParserFactory | |
Résultat | System |
public ProcessMessage ( object sender, |
||
sender | object | |
args | ||
Résultat | void |