Closed chibenwa closed 5 months ago
I want to welcome new user.
When a mailbox is created, this mailboxlistener would pick up a template on the file system, customize the domain and the username and would add the message into the user mailbox.
Sample configuration: listener.xml (not enabled by default)
listener.xml
<listeners> ... <listener> <class>org.apache.james.rspamd.RspamdListener</class> <async>true</async> <configuration> <templatePath>file://root/welcome.template</templatePath> </configuration> </listener> </listeners>
Dedicated maven module in tmail-backend/mailbox/plugin/welcome-listener, on the classpath of distributed app.
tmail-backend/mailbox/plugin/welcome-listener
Internationalization is out of scope. We target on premise deployments.
Unit tests.
Cc @pvi-github @guimard
Work to be done on this.
CF https://github.com/linagora/tmail-backend/pull/946
Why?
I want to welcome new user.
How?
When a mailbox is created, this mailboxlistener would pick up a template on the file system, customize the domain and the username and would add the message into the user mailbox.
Sample configuration:
listener.xml
(not enabled by default)Dedicated maven module in
tmail-backend/mailbox/plugin/welcome-listener
, on the classpath of distributed app.Out of scope
Internationalization is out of scope. We target on premise deployments.
Definition of done
Unit tests.