Email accounts

1 month ago
I am unable to check test email.  I have  a error :

Error sending e-mail. The operation has timed out.

Nop.Core.NopException: The operation has timed out.
---> System.TimeoutException: The operation has timed out.
   at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, CancellationToken cancellationToken)
   at MailKit.MailService.ConnectNetworkAsync(String host, Int32 port, CancellationToken cancellationToken)
   at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)
   at Nop.Services.Messages.SmtpBuilder.BuildAsync(EmailAccount emailAccount) in /src/Libraries/Nop.Services/Messages/SmtpBuilder.cs:line 80
   --- End of inner exception stack trace ---
   at Nop.Services.Messages.SmtpBuilder.BuildAsync(EmailAccount emailAccount) in /src/Libraries/Nop.Services/Messages/SmtpBuilder.cs:line 80
   at Nop.Services.Messages.EmailSender.SendEmailAsync(EmailAccount emailAccount, String subject, String body, String fromAddress, String fromName, String toAddress, String toName, String replyTo, String replyToName, IEnumerable`1 bcc, IEnumerable`1 cc, String attachmentFilePath, String attachmentFileName, Int32 attachedDownloadId, IDictionary`2 headers) in /src/Libraries/Nop.Services/Messages/EmailSender.cs:line 205
   at Nop.Plugin.Misc.Sendinblue.Services.SendinblueEmailSender.SendEmailAsync(EmailAccount emailAccount, String subject, String body, String fromAddress, String fromName, String toAddress, String toName, String replyTo, String replyToName, IEnumerable`1 bcc, IEnumerable`1 cc, String attachmentFilePath, String attachmentFileName, Int32 attachedDownloadId, IDictionary`2 headers)
   at Nop.Services.Messages.QueuedMessagesSendTask.ExecuteAsync() in /src/Libraries/Nop.Services/Messages/QueuedMessagesSendTask.cs:line 84

Email address: [email protected]
Email display name: ulavarnanban.com
Host : smtp-mail.outlook.com
Port: 587
User: [email protected]
SSL : checked
Use default credentials : not checked

1 month ago
What version of nopCommerce are you using ?
Currently the standard nopCommerce cannot connect to Outlook due to the fact they have introduced Oath2 login security
There are modifications being made to the Email routines in v4.7 (In development)
You would need to copy in these modifications to previous versions to enable the use of Outlook

1 month ago
we are using nop : 4.60.5