Email template customizing

130 views
Skip to first unread message

Victor Zele

unread,
Apr 5, 2018, 4:12:07 PM4/5/18
to Mayan EDMS
I was searching for a way to change the default email template used for emailing a link or document?
Don't seem to be able to find in the DB or on disk.   Can I get the location of this file(s).

thanks!

Roberto Rosario

unread,
Apr 5, 2018, 4:50:16 PM4/5/18
to mayan...@googlegroups.com
The email templates are configure via the settings:

MAILER_DOCUMENT_BODY_TEMPLATE, MAILER_DOCUMENT_SUBJECT_TEMPLATE, MAILER_LINK_BODY_TEMPLATE, MAILER_LINK_SUBJECT_TEMPLATE

In you settings/local.py set any of these to the text you want to use.


CONFIDENTIALITY NOTICE: 

This transmission may contain information which is Vimo, Inc. (DBA Getinsured) confidential and/or legally privileged. The information is intended only for the use of the individual or entity named on this transmission. If you are not the intended recipient, you are hereby notified that any disclosure, copying, or distribution of the contents of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify me by return e-mail and destroy all copies of the original message.

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Screenshot from 2018-04-05 16-44-23.png
Screenshot from 2018-04-05 16-45-27.png
Screenshot from 2018-04-05 16-45-37.png

Victor Zele

unread,
Apr 6, 2018, 12:18:00 PM4/6/18
to Mayan EDMS
Thanks Roberto, great to have you back online.

It works as expected!

Now any way to set the message header type variable for Django, html_message, so that the message body content is flagged as fancy HTML code and not just plain text?

Victor 

Roberto Rosario

unread,
Apr 6, 2018, 4:43:36 PM4/6/18
to Mayan EDMS
Thanks!

That is a good idea. Please open an issue to help track it
Reply all
Reply to author
Forward
0 new messages