using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using MailKit;
|
using MailKit.Net.Smtp;
|
using MailKit.Security;
|
using System.Text;
|
using System.Threading.Tasks;
|
using Tiger.Model;
|
|
namespace Tiger.IBusiness
|
{
|
public interface IMailServiceApi
|
{
|
public SendResultEntity SendMail(MailBodyEntity mailBodyEntity,
|
SendServerConfigurationEntity sendServerConfiguration);
|
public void Connection(MailBodyEntity mailBodyEntity, SendServerConfigurationEntity sendServerConfiguration,
|
SmtpClient client, SendResultEntity sendResultEntity);
|
public void Authenticate(MailBodyEntity mailBodyEntity, SendServerConfigurationEntity sendServerConfiguration,
|
SmtpClient client, SendResultEntity sendResultEntity);
|
public void Send(MailBodyEntity mailBodyEntity, SendServerConfigurationEntity sendServerConfiguration,
|
SmtpClient client, SendResultEntity sendResultEntity);
|
public MailServerInformation SmtpClientBaseMessage(SmtpClient client);
|
}
|
}
|