Пример #1
0
        public void SendMail(string MailTo, string Subject, string Text, string AttachFileName, bool AttachmentAutoRemove)
        {
            MailParams mailParams = new MailParams(MAIL_PARAMS);
    
            mailParams.MailTo = MailTo;

            SendMail(mailParams, Subject, Text, AttachFileName, AttachmentAutoRemove);
        }
Пример #2
0
        public MailParams(MailParams MailParams)
        {
            this.ServerName = MailParams.ServerName;

            this.MailTo = MailParams.MailTo;

            this.MailFrom = MailParams.MailFrom;

            this.CopyTo = MailParams.CopyTo;
        }
Пример #3
0
 public void SendMail(MailParams MailParams, string Subject, string Text, string AttachFileName, bool AttachmentAutoRemove)
 {
     SendMail(MailParams.ServerName, MailParams.MailTo, MailParams.MailFrom, Subject, Text, AttachFileName, AttachmentAutoRemove);
 }