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

Enhancement: A way to configure automatic email contents #874

Open
aranggitoar opened this issue Mar 10, 2023 · 11 comments
Open

Enhancement: A way to configure automatic email contents #874

aranggitoar opened this issue Mar 10, 2023 · 11 comments

Comments

@aranggitoar
Copy link
Contributor

aranggitoar commented Mar 10, 2023

I was thinking about this when looking at @oreowarpok's case in Albata, as someone with knowledge with the source code has to hardcode a different email content if an administrator would like a different email content. Last time it was you that helped Phil to work on this, maybe if we would have a setting for this of its own, it would be easier for the administrators and practical for the programmers.

@teusbenschop what do you think about this?

And if it's something we can do, I'll add it into email/index, possibly into a page of its own, as there would be several types of email contents to be configured.

@teusbenschop
Copy link
Member

It is up to you if you think that this improves the program, and if you think that the programming effort to create this is a justified investment.

@oreowarpok
Copy link

Wow, I really like this idea, Aranggi! It would be super helpful.

@aranggitoar
Copy link
Contributor Author

I'm currently working on this pending enhancement.

@warpok
Copy link

warpok commented Jun 26, 2023

Thanks, Aranggi!

@aranggitoar
Copy link
Contributor Author

image

The email types (registration, opened account notification, etc.) would be embedded in the code but its contents (subject and body) could be edited and saved in files as a Database_Config_General instance. For instance: when a user registered, Bibledit would read the files and send the contents of the files as subject and body of the email. The current embedded email contents will be used as default email contents for each type.

For now the kind of formatting that could be used in the email content would only be: headings and bold, italic and underline font style. Is there other styling that might be necessary?

In general, what do you think about this draft, @teusbenschop and @warpok?

@teusbenschop
Copy link
Member

The draft looks good, and the styles look good too.

I think it's a good way to go.

@warpok
Copy link

warpok commented Jul 4, 2023

This is a great improvement! Can't wait to use it at the Bible Study site.

@warpok
Copy link

warpok commented Jul 7, 2023

Ninda will love this! She does the communication with our 37 users now, so I haven't watched this. But I will put on my list to show her this and we will try it out. Thank you!

@warpok
Copy link

warpok commented Jul 7, 2023

Maaf, apakah ini terapkan dalam edisi terbaru? Saya perlu updatenya, kalau begitu.

@warpok
Copy link

warpok commented Jul 7, 2023

I did an update of the Bibledit server and I do not find a place to set email contents in the Mail settings page.

@aranggitoar
Copy link
Contributor Author

Sorry it hasn't been added yet because I need to do some more tests. I'll give an update here if its done.

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

No branches or pull requests

4 participants