My IT department has informed me that the SMTP server is configured not to use authentication. I have cleared the user and password, but cannot get the system to send email - on windows or linux.
Is it possible to send email without providing an user / password to Mailkit?
The error message received is:
The SMTP server does not support authentication.
The stack trace:
at MailKit.Net.Smtp.SmtpClient.ProcessMailFromResponse(MimeMessage message, MailboxAddress mailbox, SmtpResponse response)
at MailKit.Net.Smtp.SmtpClient.MailFromAsync(FormatOptions options, MimeMessage message, MailboxAddress mailbox, SmtpExtension extensions, Boolean doAsync, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.SendAsync(FormatOptions options, MimeMessage message, MailboxAddress sender, IList`1 recipients, Boolean doAsync, CancellationToken cancellationToken, ITransferProgress progress)
at MailKit.Net.Smtp.SmtpClient.Send(FormatOptions options, MimeMessage message, CancellationToken cancellationToken, ITransferProgress progress)
at MailKit.MailTransport.Send(MimeMessage message, CancellationToken cancellationToken, ITransferProgress progress)
at Grand.Services.Messages.EmailSender.SendEmail(EmailAccount emailAccount, String subject, String body, String fromAddress, String fromName, String toAddress, String toName, String replyToAddress, String replyToName, IEnumerable`1 bccAddresses, IEnumerable`1 ccAddresses, String attachmentFilePath, String attachmentFileName, IEnumerable`1 attachedDownloads) in C:\dev-git\BICGraphic\Grand.Services\Messages\EmailSender.cs:line 153
at Grand.Web.Areas.Admin.Services.EmailAccountViewModelService.SendTestEmail(EmailAccount emailAccount, EmailAccountModel model) in C:\dev-git\BICGraphic\Grand.Web\Areas\Admin\Services\EmailAccountViewModelService.cs:line 50
at Grand.Web.Areas.Admin.Controllers.EmailAccountController.SendTestEmail(EmailAccountModel model) in C:\dev-git\BICGraphic\Grand.Web\Areas\Admin\Controllers\EmailAccountController.cs:line 154
The SMTP server does not support authentication.
Monday, November 25, 2024 5:39:45 PM