Help needed,
samba keep throwing this error. followed (2.4.12.e. How to Send Reports as email At End of Work Period? – SambaPOS Knowledgebase)
the error as below:
[Exception Info 1]
Top-level Exception
Type: System.AggregateException
Message: One or more errors occurred.
Source: Samba.Infrastructure
Stack Trace: at Samba.Infrastructure.Helpers.Retry.Do[T](Func`1 action, TimeSpan retryInterval, Int32 retryCount)
at Samba.Infrastructure.Helpers.Retry.Do(Action action, TimeSpan retryInterval, Int32 retryCount)
at Samba.Services.Implementations.EMailService.SendEmail(String smtpServerAddress, String smtpUser, String smtpPassword, Int32 smtpPort, String toEmailAddress, String ccEmailAddresses, String fromEmailAddress, String subject, String body, String fileName, Boolean deleteFile, Boolean bypassSslErrors, Int32 retryCount, Int32 retryMinutes)
Inner Exception 1
Type: System.Net.Mail.SmtpException
Message: The operation has timed out.
Source: System
Stack Trace: at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Samba.Services.Implementations.EMailService.InternalSendEmail(String smtpUser, String smtpPassword, Int32 smtpPort, String toEmailAddress, String ccEmailAddresses, String fromEmailAddress, String subject, String body, String fileName, Boolean bypassSslErrors, MailMessage mail, SmtpClient smtpServer)
at Samba.Services.Implementations.EMailService.<>c__DisplayClass2_0.<SendEmail>b__0()
at Samba.Infrastructure.Helpers.Retry.<>c__DisplayClass0_0.<Do>b__0()
at Samba.Infrastructure.Helpers.Retry.Do[T](Func`1 action, TimeSpan retryInterval, Int32 retryCount)