Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure system email service #40

Open
voodoorai2000 opened this issue Jun 26, 2018 · 4 comments
Open

Configure system email service #40

voodoorai2000 opened this issue Jun 26, 2018 · 4 comments

Comments

@voodoorai2000
Copy link
Member

voodoorai2000 commented Jun 26, 2018

What

Configure the installer to use sendmail instead of SMTP by default or configure postfix so the server can send emails automatically.

Alternatively, we could configure postfix on the server during the installation process.

Why

Until we configure delayed job properly, we're getting a nasty 500 error when trying to send emails using the installer's default SMTP settings.

@afeld
Copy link
Contributor

afeld commented Jan 17, 2019

I suggest keeping the sending in Ruby and instead do the sending in the background, as brought up in consuldemocracy/docs#54.

@voodoorai2000
Copy link
Member Author

Hey @afeld,

Yes, sending in the background should take care of the 500 error.

I was hoping we could configure a standard email delivery system so that users could receive email right after running the installer, without further configuration.

I thought sendmail could help us here. There is a configuration option for sending emails with sendmail for a Rails app, but I was running into problems setting it up in Digital Ocean.

Do you know of a way for email delivery to work right off the bat after running the installer? 🤔

@afeld
Copy link
Contributor

afeld commented Jan 17, 2019

What's the purpose of sending the email after installation? That strikes me as being more trouble than it might be worth.

@voodoorai2000
Copy link
Member Author

voodoorai2000 commented Jan 18, 2019

The main purposes would be to have the Installer setup all the basics up for you to get going at least for internal demo purposes.

Email delivery has been something difficult to setup for many users. Having a configuration that would allow users to for example, Register to the app and receive the confirmation email after running the installer, would be very helpful.

@javierm javierm changed the title Use sendmail as the default email system Configure system email service Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants