Pritunl VPN SMTP Settings

How do I set the smtp settings, can anyone give me example of how to set it ?

I have setup similar to kind like this :

But it is fail to send email .

The pritunl logs shown like this :

[snowy-forest-1265][2022-11-04 18:28:05,397][ERROR] Exception on /user/6305b500bcc0d0be61792b67/6305b503bcc0d0be61792b7c [PUT]
Traceback (most recent call last):
  File "/usr/lib/pritunl/lib/python3.6/site-packages/flask/app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/pritunl/lib/python3.6/site-packages/flask/app.py", line 1518, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/pritunl/lib/python3.6/site-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/pritunl/lib/python3.6/site-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/usr/lib/pritunl/lib/python3.6/site-packages/pritunl/auth/app.py", line 10, in _wrapped
    return call(*args, **kwargs)
  File "/usr/lib/pritunl/lib/python3.6/site-packages/pritunl/handlers/user.py", line 720, in user_put
    user.send_key_email(utils.get_url_root())
  File "/usr/lib/pritunl/lib/python3.6/site-packages/pritunl/user/user.py", line 1245, in send_key_email
    html_email,
  File "/usr/lib/pritunl/lib/python3.6/site-packages/pritunl/utils/mail.py", line 38, in send_email
    smtp_conn = smtplib.SMTP(email_server)
  File "/usr/lib64/python3.6/smtplib.py", line 251, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/lib64/python3.6/smtplib.py", line 336, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib64/python3.6/smtplib.py", line 307, in _get_socket
    self.source_address)
  File "/usr/lib64/python3.6/socket.py", line 724, in create_connection
    raise err
  File "/usr/lib64/python3.6/socket.py", line 713, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
  • List item

The port must be included in the SMTP server.