You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes. I have exact same issue. I'm very surprised that the author @lukencode has not responded at all since April. I guess it's time not to use this nugget packages
services.AddFluentEmail(mailSettings.From)
.AddRazorRenderer()
// this configuration is working
.AddSmtpSender(new System.Net.Mail.SmtpClient()
{
Host = mailSettings.Host,
Port = mailSettings.Port,
EnableSsl = mailSettings.UseSsl,
Credentials = new System.Net.NetworkCredential(mailSettings.UserName, mailSettings.Password)
});
// this configuration with Mailkit not working.
//.AddMailKitSender(new FluentEmail.MailKitSmtp.SmtpClientOptions()
//{
// RequiresAuthentication = !string.IsNullOrEmpty(mailSettings.UserName),
// UsePickupDirectory = false,
// Password = mailSettings.Password,
// Port = mailSettings.Port,
// Server = mailSettings.Host,
// User = mailSettings.UserName,
// UseSsl = mailSettings.UseSsl,
//});
Method not found: 'Void MailKit.MailTransport.Send(MimeKit.MimeMessage, System.Threading.CancellationToken, MailKit.ITransferProgress)'.
why?
The text was updated successfully, but these errors were encountered: