Beispiel #1
0
        private void EmailDispatch_OnSendComplete(object sender, SendCompleteArgs arg)
        {
            var data = new EmailSendLog(arg.TagName,
                                        arg.Data.Tos,
                                        arg.Data.Body,
                                        arg.Data.Subject,
                                        arg.Data.From,
                                        arg.Data.SubjectEncoding,
                                        arg.Data.BodyEncoding,
                                        arg.SendTime,
                                        arg.ErrorCode,
                                        arg.Ex);

            _emailRepository.AddSendLog(data);
        }