示例#1
0
 public Message()
 {
     Attachments = new List <String>();
     Recipients  = new List <Recipient>();
     Settings    = new MessageSettings()
     {
         PrefixType = SubjectPrefixType.SystemConfiguration, Signature = Signature.FromConfigurationSettings, SenderType = SenderUserType.LoggedUser
     };
 }
示例#2
0
 public Message(Boolean copyToSender, Boolean notifyToSender, SenderUserType sType, SubjectPrefixType sPrefix = SubjectPrefixType.SystemConfiguration, Signature signature = Signature.FromConfigurationSettings)
 {
     Attachments = new List <String>();
     Recipients  = new List <Recipient>();
     Settings    = new MessageSettings()
     {
         PrefixType = sPrefix, Signature = signature, SenderType = sType, NotifyToSender = notifyToSender, CopyToSender = copyToSender
     };
 }
示例#3
0
 public void SendMailMessagesFromTemplate(string istanceIdentifier, int idUser, string moduleCode, lm.Comol.Core.MailCommons.Domain.Messages.MessageSettings mailSettings, List <Core.Mail.Messages.dtoMailTranslatedMessage> messages, Core.Mail.Messages.dtoBaseMailTemplate template = null, DomainModel.ModuleObject obj = null, int idCommunity = -1, bool isPortal = false, List <string> attachments = null, string attachmentPath = "", bool saveMessage = false)
 {
 }