• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Webhook: How to setup SMTP?

     
    • 0 Vote(s) - 0 Average

    Webhook: How to setup SMTP?

    Want to send email notifications thru jellyfin
    hov
    Offline

    Junior Member

    Posts: 31
    Threads: 6
    Joined: 2023 Jun
    Reputation: 0
    #1
    2023-07-15, 01:25 AM
    Hello I currently have issues with SMTP and webhook for Jellyfin. I currently have my SMTP server url, my email account I want to connect to webhook to send out the notification emails but it doesn't seem to be working. Below are my logs around the time of playback + screenshots of my webhook settings. What is webhook url for email?

       
       

    Code:
    [2023-07-14 18:03:20.691 -07:00] [INF] [34] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "user1". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [2023-07-14 18:03:20.692 -07:00] [INF] [34] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Jellyfin Media Player", Path="/14TB/downloads/TV/Conan.Without.Borders.S01.1080p.HMAX.WEB-DL.DD2.0.H.264-WELP/Conan.Without.Borders.S01E01.Conan.in.Cuba.1080p.HMAX.WEB-DL.DD2.0.H.264-WELP.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/79b4f77e-ad4b-f9c0-a6aa-0cfa99a42c9b/stream.mkv?MediaSourceId=79b4f77ead4bf9c0a6aa0cfa99a42c9b&Static=true&VideoCodec=h264&AudioCodec=ac3&AudioStreamIndex=1&api_key=<token>&Tag=58e6a715c19049fe295117ed768114d1"
    [2023-07-14 18:03:31.795 -07:00] [INF] [35] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "user1". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [2023-07-14 18:03:31.795 -07:00] [INF] [35] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Jellyfin Media Player", Path="/14TB/downloads/TV/Conan.Without.Borders.S01.1080p.HMAX.WEB-DL.DD2.0.H.264-WELP/Conan.Without.Borders.S01E09.Conan.in.Italy.1080p.HMAX.WEB-DL.DD2.0.H.264-WELP.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/5de4041b-6f67-6ecf-abc2-e21241806997/stream.mkv?MediaSourceId=5de4041b6f676ecfabc2e21241806997&Static=true&VideoCodec=h264&AudioCodec=ac3&AudioStreamIndex=1&api_key=<token>&Tag=e9e29932401685e8569cba8585349c27"
    [2023-07-14 18:03:44.131 -07:00] [INF] [44] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Webhook Item Added Notifier"
    [2023-07-14 18:03:44.131 -07:00] [INF] [44] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "ItemAddedScheduledTask"
    [2023-07-14 18:03:44.131 -07:00] [INF] [49] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Webhook Item Added Notifier"
    [2023-07-14 18:03:44.132 -07:00] [INF] [49] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    [2023-07-14 18:03:44.132 -07:00] [INF] [49] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
    [2023-07-14 18:03:53.456 -07:00] [INF] [46] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.175" closed
    [2023-07-14 18:03:53.761 -07:00] [INF] [47] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.175" request
    [2023-07-14 18:04:09.587 -07:00] [WRN] [48] Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient: Error sending email
    System.TimeoutException: The operation has timed out.
      at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken)
      at Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient.SendAsync(SmtpOption option, Dictionary`2 data)
    [2023-07-14 18:04:09.603 -07:00] [WRN] [44] Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient: Error sending email
    System.TimeoutException: The operation has timed out.
      at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken)
      at Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient.SendAsync(SmtpOption option, Dictionary`2 data)
    [2023-07-14 18:04:09.617 -07:00] [WRN] [39] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.100:8096/Sessions/Capabilities/Full" to "192.168.1.175" in 0:02:00.1902146 with Status Code 204
    [2023-07-14 18:04:09.624 -07:00] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.175" closed
    [2023-07-14 18:04:14.130 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Webhook Item Added Notifier"
    [2023-07-14 18:04:14.130 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "ItemAddedScheduledTask"
    [2023-07-14 18:04:14.130 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Webhook Item Added Notifier"
    [2023-07-14 18:04:14.131 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    [2023-07-14 18:04:14.131 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
    [2023-07-14 18:04:39.524 -07:00] [WRN] [46] Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient: Error sending email
    System.TimeoutException: The operation has timed out.
      at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken)
      at Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient.SendAsync(SmtpOption option, Dictionary`2 data)
    [2023-07-14 18:04:39.734 -07:00] [WRN] [50] Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient: Error sending email
    System.TimeoutException: The operation has timed out.
      at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken)
      at Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient.SendAsync(SmtpOption option, Dictionary`2 data)
    [2023-07-14 18:04:39.795 -07:00] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.100:8096/Sessions/Playing/Progress" to "192.168.1.175" in 0:02:00.0714248 with Status Code 204
    [2023-07-14 18:04:44.130 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Webhook Item Added Notifier"
    [2023-07-14 18:04:44.130 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "ItemAddedScheduledTask"
    [2023-07-14 18:04:44.130 -07:00] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Webhook Item Added Notifier"
    [2023-07-14 18:04:44.130 -07:00] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    [2023-07-14 18:04:44.130 -07:00] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
    [2023-07-14 18:04:46.631 -07:00] [WRN] [33] Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient: Error sending email
    System.TimeoutException: The operation has timed out.
      at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken)
      at Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient.SendAsync(SmtpOption option, Dictionary`2 data)
    [2023-07-14 18:04:46.663 -07:00] [WRN] [3] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.100:8096/Sessions/Playing/Progress" to "192.168.1.175" in 0:02:00.0441665 with Status Code 204
    [2023-07-14 18:04:51.119 -07:00] [INF] [3] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.175" closed
    [2023-07-14 18:04:51.200 -07:00] [WRN] [40] Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient: Error sending email
    13100 CPU for server
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-07-15, 02:01 AM (This post was last modified: 2023-07-15, 02:05 AM by TheDreadPirate. Edited 1 time in total.)
    (2023-07-15, 01:25 AM)hov Wrote: Hello I currently have issues with SMTP and webhook for Jellyfin. I currently have my SMTP server url, my email account I want to connect to webhook to send out the notification emails but it doesn't seem to be working. Below are my logs around the time of playback + screenshots of my webhook settings. What is webhook url for email?




    Code:
    [2023-07-14 18:03:20.691 -07:00] [INF] [34] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "user1". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [2023-07-14 18:03:20.692 -07:00] [INF] [34] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Jellyfin Media Player", Path="/14TB/downloads/TV/Conan.Without.Borders.S01.1080p.HMAX.WEB-DL.DD2.0.H.264-WELP/Conan.Without.Borders.S01E01.Conan.in.Cuba.1080p.HMAX.WEB-DL.DD2.0.H.264-WELP.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/79b4f77e-ad4b-f9c0-a6aa-0cfa99a42c9b/stream.mkv?MediaSourceId=79b4f77ead4bf9c0a6aa0cfa99a42c9b&Static=true&VideoCodec=h264&AudioCodec=ac3&AudioStreamIndex=1&api_key=<token>&Tag=58e6a715c19049fe295117ed768114d1"
    [2023-07-14 18:03:31.795 -07:00] [INF] [35] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "user1". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
    [2023-07-14 18:03:31.795 -07:00] [INF] [35] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Jellyfin Media Player", Path="/14TB/downloads/TV/Conan.Without.Borders.S01.1080p.HMAX.WEB-DL.DD2.0.H.264-WELP/Conan.Without.Borders.S01E09.Conan.in.Italy.1080p.HMAX.WEB-DL.DD2.0.H.264-WELP.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/5de4041b-6f67-6ecf-abc2-e21241806997/stream.mkv?MediaSourceId=5de4041b6f676ecfabc2e21241806997&Static=true&VideoCodec=h264&AudioCodec=ac3&AudioStreamIndex=1&api_key=<token>&Tag=e9e29932401685e8569cba8585349c27"
    [2023-07-14 18:03:44.131 -07:00] [INF] [44] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Webhook Item Added Notifier"
    [2023-07-14 18:03:44.131 -07:00] [INF] [44] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "ItemAddedScheduledTask"
    [2023-07-14 18:03:44.131 -07:00] [INF] [49] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Webhook Item Added Notifier"
    [2023-07-14 18:03:44.132 -07:00] [INF] [49] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    [2023-07-14 18:03:44.132 -07:00] [INF] [49] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
    [2023-07-14 18:03:53.456 -07:00] [INF] [46] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.175" closed
    [2023-07-14 18:03:53.761 -07:00] [INF] [47] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.175" request
    [2023-07-14 18:04:09.587 -07:00] [WRN] [48] Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient: Error sending email
    System.TimeoutException: The operation has timed out.
      at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken)
      at Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient.SendAsync(SmtpOption option, Dictionary`2 data)
    [2023-07-14 18:04:09.603 -07:00] [WRN] [44] Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient: Error sending email
    System.TimeoutException: The operation has timed out.
      at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken)
      at Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient.SendAsync(SmtpOption option, Dictionary`2 data)
    [2023-07-14 18:04:09.617 -07:00] [WRN] [39] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.100:8096/Sessions/Capabilities/Full" to "192.168.1.175" in 0:02:00.1902146 with Status Code 204
    [2023-07-14 18:04:09.624 -07:00] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.175" closed
    [2023-07-14 18:04:14.130 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Webhook Item Added Notifier"
    [2023-07-14 18:04:14.130 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "ItemAddedScheduledTask"
    [2023-07-14 18:04:14.130 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Webhook Item Added Notifier"
    [2023-07-14 18:04:14.131 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    [2023-07-14 18:04:14.131 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
    [2023-07-14 18:04:39.524 -07:00] [WRN] [46] Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient: Error sending email
    System.TimeoutException: The operation has timed out.
      at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken)
      at Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient.SendAsync(SmtpOption option, Dictionary`2 data)
    [2023-07-14 18:04:39.734 -07:00] [WRN] [50] Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient: Error sending email
    System.TimeoutException: The operation has timed out.
      at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken)
      at Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient.SendAsync(SmtpOption option, Dictionary`2 data)
    [2023-07-14 18:04:39.795 -07:00] [WRN] [38] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.100:8096/Sessions/Playing/Progress" to "192.168.1.175" in 0:02:00.0714248 with Status Code 204
    [2023-07-14 18:04:44.130 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Webhook Item Added Notifier"
    [2023-07-14 18:04:44.130 -07:00] [INF] [28] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "ItemAddedScheduledTask"
    [2023-07-14 18:04:44.130 -07:00] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Webhook Item Added Notifier"
    [2023-07-14 18:04:44.130 -07:00] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
    [2023-07-14 18:04:44.130 -07:00] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
    [2023-07-14 18:04:46.631 -07:00] [WRN] [33] Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient: Error sending email
    System.TimeoutException: The operation has timed out.
      at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken)
      at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken)
      at Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient.SendAsync(SmtpOption option, Dictionary`2 data)
    [2023-07-14 18:04:46.663 -07:00] [WRN] [3] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.100:8096/Sessions/Playing/Progress" to "192.168.1.175" in 0:02:00.0441665 with Status Code 204
    [2023-07-14 18:04:51.119 -07:00] [INF] [3] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.175" closed
    [2023-07-14 18:04:51.200 -07:00] [WRN] [40] Jellyfin.Plugin.Webhook.Destinations.Smtp.SmtpClient: Error sending email

    Looks like a standard 30 second timeout.  Whatever your email server is running on, have the firewall rules been added to allow the traffic through on port 465?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    hov
    Offline

    Junior Member

    Posts: 31
    Threads: 6
    Joined: 2023 Jun
    Reputation: 0
    #3
    2023-07-15, 02:14 AM
    (2023-07-15, 02:01 AM)TheDreadPirate Wrote: Looks like a standard 30 second timeout.  Whatever your email server is running on, have the firewall rules been added to allow the traffic through on port 465?

    Am I supposed to have port 465 exposed in Jellyfin's docker-compose? Below is my docker-compose for jellyfin. I still get the same issue of emails not sending out

    Code:
      jellyfin:
        image: jellyfin/jellyfin
        container_name: jellyfin
        group_add:
          - "106"
        environment:
          - PUID=1000
          - PGID=100
          - TZ=America/Los_Angeles
        volumes:
          - ./jellyfin/config:/config
          - ./jellyfin/cache:/cache
          - /srv/dev-disk-by-uuid-XXXXXXXX/downloads:/14TB/downloads
          - /srv/dev-disk-by-uuid-YYYYYYYY/downloads:/8TB/downloads
          - /Music:/Music
        ports:
          - 8096:8096
          - 8920:8920
          - 465:465
        devices:
          - /dev/dri/renderD128:/dev/dri/renderD128
        restart: unless-stopped
        cpus: '4'
        mem_limit: 4g
    13100 CPU for server
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-07-15, 02:28 AM
    Wherever these emails are supposed to go, they are not arriving. Not due to any issue on the Jellyfin server's end, I don't think. No acknowledgement one way or the other. The connection is just timing out. Is taylor.mxrouting.net a local machine or remote?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    hov
    Offline

    Junior Member

    Posts: 31
    Threads: 6
    Joined: 2023 Jun
    Reputation: 0
    #5
    2023-07-15, 03:38 AM
    (2023-07-15, 02:28 AM)TheDreadPirate Wrote: Wherever these emails are supposed to go, they are not arriving.  Not due to any issue on the Jellyfin server's end, I don't think.  No acknowledgement one way or the other.  The connection is just timing out.  Is taylor.mxrouting.net a local machine or remote?

    it's the listed SMTP server of my email hosting provider mxroute. I have an email account jellyfin@mydomain.com and a password set for it. Typically these credentials are all I need to login to this taylor.mxrouting url for an email app. I tested logging into it via thunderbird and it received and sent messages fine.
    13100 CPU for server
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-07-15, 05:30 AM
    Do you know if Thunderbird is using plain SSL (465) or STARTTLS (587)? ....Unencrypted (25)? I hope not. I'm not sure how that would translate if it was STARTTLS in the webhook plugin. Change to port 587, uncheck Use SSL?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    hov
    Offline

    Junior Member

    Posts: 31
    Threads: 6
    Joined: 2023 Jun
    Reputation: 0
    #7
    2023-07-15, 06:46 AM (This post was last modified: 2023-07-15, 06:56 AM by hov. Edited 1 time in total.)
    (2023-07-15, 05:30 AM)TheDreadPirate Wrote: Do you know if Thunderbird is using plain SSL (465) or STARTTLS (587)?  ....Unencrypted (25)?  I hope not.  I'm not sure how that would translate if it was STARTTLS in the webhook plugin.  Change to port 587, uncheck Use SSL?

    Thunderbird by default is STARTTLS (587), but after trying switching to SSL with port 465 it worked fine as well for outbound emails. (double checked I was in the SMTP thunderbird settings)

    These are my ports in docker-compose
        ports:
          - 8096:8096
          - 8920:8920
          - 465:465
          - 587:587

    I'm just having trouble getting it to work in webhook.
    I saw on the github for this plugin, but the templates section doesn't have anything for SMTP. https://github.com/jellyfin/jellyfin-plu.../Templates
    13100 CPU for server
    hov
    Offline

    Junior Member

    Posts: 31
    Threads: 6
    Joined: 2023 Jun
    Reputation: 0
    #8
    2023-07-15, 07:03 AM
    Also, what do I set for the webhook destination url? I have it set to my SMTP server url but unsure if that's right or wrong

    [Image: flydy1y.png]
    13100 CPU for server
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode