This PR introduces a bit of basic maintenance, but also three properties that can be used to change the emails that are being sent by this plugin:
plugin.emailonaway.email.subject The subject of emails that are being sent.
plugin.emailonaway.email.body.plain The plain-text body of emails that are being sent. $$IMBODY$$ will be replaced with the body of the chat message that was missed.
plugin.emailonaway.email.body.html The html-text body of emails that are being sent. $$IMBODY$$ will be replaced with the body of the chat message that was missed.
The plugin will try to look up the email address of senders and recipients of chat messages, but an email address can not always be found. The system property plugin.emailonaway.use_xmpp_as_email_address defines if the (bare) XMPP address of a user is to be used as an email address if no other address can be found. When configured to 'false', then the value from the system property plugin.emailonaway.email.default_mail_address will be used.
To implement the above, a refactoring has been implemented for the lookup of both the 'human name' as well as email address for an XMPP address.
This PR introduces a bit of basic maintenance, but also three properties that can be used to change the emails that are being sent by this plugin:
plugin.emailonaway.email.subject
The subject of emails that are being sent.plugin.emailonaway.email.body.plain
The plain-text body of emails that are being sent.$$IMBODY$$
will be replaced with the body of the chat message that was missed.plugin.emailonaway.email.body.html
The html-text body of emails that are being sent.$$IMBODY$$
will be replaced with the body of the chat message that was missed.The plugin will try to look up the email address of senders and recipients of chat messages, but an email address can not always be found. The system property
plugin.emailonaway.use_xmpp_as_email_address
defines if the (bare) XMPP address of a user is to be used as an email address if no other address can be found. When configured to 'false', then the value from the system propertyplugin.emailonaway.email.default_mail_address
will be used.To implement the above, a refactoring has been implemented for the lookup of both the 'human name' as well as email address for an XMPP address.