Discussion:
[Mayan EDMS: 2419] Email template customizing
Victor Zele
2018-04-05 20:12:07 UTC
Permalink
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!
--
**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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Roberto Rosario
2018-04-05 20:49:52 UTC
Permalink
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.
Post by Victor Zele
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!
*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
For more options, visit https://groups.google.com/d/optout.
--
---
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Victor Zele
2018-04-06 16:18:00 UTC
Permalink
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
--
**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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Roberto Rosario
2018-04-06 20:43:36 UTC
Permalink
Thanks!

That is a good idea. Please open an issue to help track it
https://gitlab.com/mayan-edms/mayan-edms/issues
Post by Victor Zele
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
--
---
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...