Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Invitation is not sent when server is behind proxy #2

Open
boriska70 opened this issue Sep 28, 2016 · 1 comment
Open

Invitation is not sent when server is behind proxy #2

boriska70 opened this issue Sep 28, 2016 · 1 comment

Comments

@boriska70
Copy link
Contributor

Not relevant for Cloud/CI but happens in local office network.
express-mailer should get a proxy settings, if relevant.
See:

  • server/node_modules/express-mailer/lib/express-mailer.js - code that eventually should use the proxy as one of the options
  • nodemailer - nodejs infrastructure used by express-mailer (full example - https://github.com/nodemailer/nodemailer/blob/v2.3/examples/proxy/http-proxy.js). NOTE that we currently use v.0.7.1 - should check if it supports proxy or should be updated
  • server/routes/accounts.js (const sendInvitation) - here we should pass the proxy details
@boriska70
Copy link
Contributor Author

The problem is that express-mailer uses nodemailer v.0.7.1 but proxy support was introduced in nodemailer 2.2.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant