Skip to content

Email channel setup clarification #1494

@satoshidba

Description

@satoshidba

Hi @DavidWiseman

I've got my estate into a more manageable state and was going to look at enabling alerts now - stumbling at the first step though in getting email notifications sent:

`Operation timed out after 120000 milliseconds

Details:

System.TimeoutException: Operation timed out after 120000 milliseconds
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at MailKit.Net.NetworkStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at MailKit.Net.NetworkStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpStream.ReadAheadAsync(CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpStream.ReadResponseAsync(CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.PostConnectAsync(Stream stream, String host, Int32 port, SecureSocketOptions options, Boolean starttls, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)
at DBADash.Alert.EmailNotificationChannel.InternalSendNotificationAsync(Alert alert, String connectionString) in D:\a\dba-dash\dba-dash\DBADash\Alert\EmailNotificationChannel.cs:line 93
at DBADashGUI.DBADashAlerts.NotificationChannelBase.SendNotificationAsync(Alert alert, String connectionString) in D:\a\dba-dash\dba-dash\DBADash\Alert\NotificationChannelBase.cs:line 85
at DBADashGUI.DBADashAlerts.NotificationChannelBase.SendNotificationAsync(Alert alert, String connectionString) in D:\a\dba-dash\dba-dash\DBADash\Alert\NotificationChannelBase.cs:line 91
at DBADashGUI.DBADashAlerts.AlertConfig.ChannelGrid_CellContentClick(Object sender, DataGridViewCellEventArgs e) in D:\a\dba-dash\dba-dash\DBADashGUI\DBADashAlerts\AlertConfig.cs:line 346
$

DBA Dash 3.27.0.0
Date: 21/07/2025 17:06:16 +01:00`

I'm in a pretty restrictive environment for permissions so there may need to be some whitelisting required for using an SMTP relay with anonymous authentication. Where is the mail actually sent from? Is it the client device that the GUI is running on or does it use the server that the service is located on or even the repository database?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions