Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Unable to send SMTP test emails

Unable to send SMTP test emails

Added by Ken Wheatley over 1 year ago

Apologies for being the ten millionth person to ask but I can't get test emails to work. The symptoms are a TCP timeout (An error occurred while sending mail (Timeout to open TCP connection to mail.birchanger.org:465 (exceeds 5 seconds))).

I am trying to send through my ISP, Zen Internet. SMTP works using the same credentials from the mail client on my PC. I have tried all combinations of login settings from the email admin screen. 

The SMTP server can be pinged (by name) from the Openproject server. Server is running on a dedicated Ubuntu 22.04 VPS at Hetzner with firewall disabled.

Grateful for any help in what must be a simple thing to fix.


Replies (4)

RE: Unable to send SMTP test emails - Added by Melvin Higdon over 1 year ago

No need to apologize, email configuration issues can be tricky, and it's a common problem. It seems like you're trying to configure email settings in OpenProject, and you're encountering a timeout error when attempting to send test emails. Here are some steps to troubleshoot and potentially resolve the issue:

Check SMTP Server and Port: Ensure that you are using the correct SMTP server and port for Zen Internet's email service. You mentioned that SMTP works from your PC, so make sure you're using the same server and port in OpenProject.

SSL/TLS Settings: Depending on your email provider's requirements, you may need to enable or disable SSL/TLS encryption. Common ports include 465 for SSL/TLS and 587 for STARTTLS. Make sure your OpenProject email configuration matches the settings that work on your PC.

Credentials: Double-check that you've entered your email username and password correctly in OpenProject's email configuration. Sometimes, incorrect credentials can lead to timeouts.

Firewall and Network Settings: Even though you mentioned that the firewall is disabled on your VPS, double-check that there are no network-level restrictions preventing the VPS from connecting to the SMTP server. Ensure that outbound connections on port 465 (or the appropriate port) are allowed. qr code

Email configuration issues can vary based on the specific setup and provider, so it may require some trial and error and collaboration with your hosting provider, email provider, or OpenProject support to pinpoint and resolve the issue.

RE: Unable to send SMTP test emails - Added by Ken Wheatley over 1 year ago

Thank you for your helpful reply. I THINK I've tried all the above but I will methodically go through it all again as it's certainly not impossible that I've missed something.

RE: Unable to send SMTP test emails - Added by Ken Wheatley over 1 year ago

Got there! I created a new email account and tried every possible combination of port/ssl/smarttls until, to my surprise, I saw the message email sent.

Thank you for your help.

RE: Unable to send SMTP test emails - Added by Hasan Hasan over 1 year ago

First you can check your SMTP connection information. sometime server firewal can block the connection also. So you should check the infomation from different server. SMTP Tester: https://www.techinblood.com/smtp-tester/

  • (1 - 4/4)
Loading...