Email after work period closed

Dears; @Jesse, All

Sorry to cannot edit or reply on past same questions so that I create a new topic regarding the same issue.

I tried what you spoke about configure actions to save report and send email and one rule for them. My error not happen with who spoke on original topic, so I cannot find a solution.

I tried gmail and business mail with the same error. please find the details:

Log file error:


[Exception Info 1]

Top-level Exception
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) in C:\Users\emree\Documents\Github\SambaPOSPro\Samba.Services\Implementations\EMailService.cs:line 77
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) in C:\Users\emree\Documents\Github\SambaPOSPro\Samba.Services\Implementations\EMailService.cs:line 42


[Assembly Info]

mscorlib, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
PresentationCore, Version=4.0.0.0
System, Version=4.0.0.0
WindowsBase, Version=4.0.0.0
Samba.Services, Version=1.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
System.Configuration, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0
Samba.Presentation.Services, Version=1.0.0.0
Samba.Presentation.Common, Version=1.0.0.0
Samba.Domain, Version=1.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
System.Core, Version=4.0.0.0
Samba.Infrastructure, Version=1.0.0.0
DevExpress.Xpf.Core.v14.1, Version=14.1.13.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
Samba.Localization, Version=1.0.0.0
Samba.Persistance, Version=1.0.0.0
FastButton, Version=1.0.0.0


[System Info]

Operating System
-Microsoft Windows 10 Home
–CodeSet = 1252
–CSDVersion =
–CurrentTimeZone = 180
–FreePhysicalMemory = 2948780
–OSArchitecture = 64-bit
–OSLanguage = 2057
–ServicePackMajorVersion = 0
–ServicePackMinorVersion = 0
–Version = 10.0.15063

Machine
-LAPTOP-NMR9BR5M
–Manufacturer = HP
–Model = HP Pavilion Notebook
–TotalPhysicalMemory = 8469581824
–UserName = LAPTOP-NMR9BR5M\moham


######################### E N D #########################

Dears, thank you problem solved. it was in mail setting and I change to be as follow and it works.

1 Like

I changed your topic category from Issue to Question. Issue category is reserved for System bugs or things which are not working that are not configuration mistakes. Feel free to use Question category for any configuration advice or help explaining features etc.

2 Likes

@Jesse, Noted and understood thank you