houdiniproject / houdini

Free and open source fundraising infrastructure for nonprofits and NGOs
https://houdiniproject.org
Other
189 stars 94 forks source link

Customizing categories and email settings #234

Open pakjiddat opened 4 years ago

pakjiddat commented 4 years ago

We would like to set the mail settings to use our Google SMTP settings

Also we would like to change the organization categories on the organization profile page. Is it possible to customize the organization categories ?

wwahammy commented 4 years ago

We would like to set the mail settings to use our Google SMTP settings

What kind of connection info does the Google SMTP settings use? Server, port, username and password?

Also we would like to change the organization categories on the organization profile page. Is it possible to customize the organization categories ?

You should be able to change the categories by going to the app/models/nonprofits.rb file. The categories are listed there.

pakjiddat commented 4 years ago

What kind of connection info does the Google SMTP settings use? Server, port, username and password?

Google SMTP uses server, port, user and password. It also requires SSL and TLS (optional). See: https://support.google.com/mail/answer/7126229?hl=en

You should be able to change the categories by going to the app/models/nonprofits.rb file. The categories are listed there.

The file: nonprofits.rb is a database model file. After editing the file do we need to reinstall the Houdini, so the data in the model file is imported ?

wwahammy commented 4 years ago

Google SMTP uses server, port, user and password. It also requires SSL and TLS (optional). See: https://support.google.com/mail/answer/7126229?hl=en

I just realized we don't have a great way to handle the SMTP user and password, which is weird. I think the best way to do it would be to configure the SMTP server using the standard method of configuring SMTP for ActionMailer in Ruby on Rails.

The file: nonprofits.rb is a database model file. After editing the file do we need to reinstall the Houdini, so the data in the model file is imported ?

You shouldn't need to reinstall.