Openfire

Offline Email Notification

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Plugins
  • Description:
    Hide

    Create a plugin that allows users to recieve an email notification if they are sent a message while offline. A couple of initial questions I have are:

    • Should the email notification be configurable on a per user basis?
    • Should a user be able to configure this feature themselves? If so, this may require individual/group permissions for the admin console.
    Show
    Create a plugin that allows users to recieve an email notification if they are sent a message while offline. A couple of initial questions I have are:
    • Should the email notification be configurable on a per user basis?
    • Should a user be able to configure this feature themselves? If so, this may require individual/group permissions for the admin console.

Activity

Hide
Matt Tucker added a comment - 03/31/05 04:37 PM

The plugin should probably collect all messages from another user within X seconds before sending of an email. A typical exchange might be:

user1: Hey, how's it going?
server: user2 is offline, your message will be stored.
user1: oops, I see you're offline. In that case, I'll give you a call to give you the details about blah...

So, as soon as the plugin gets the first message from another user, it would wait 30-45 seconds to see if any other messages come in from the same user and then send out the email.

Show
Matt Tucker added a comment - 03/31/05 04:37 PM The plugin should probably collect all messages from another user within X seconds before sending of an email. A typical exchange might be: user1: Hey, how's it going? server: user2 is offline, your message will be stored. user1: oops, I see you're offline. In that case, I'll give you a call to give you the details about blah... So, as soon as the plugin gets the first message from another user, it would wait 30-45 seconds to see if any other messages come in from the same user and then send out the email.
Hide
Matt Tucker added a comment - 03/31/05 04:38 PM

Oh, if we do allow users to configure feature themselves, config could prob be done through data forms.

Show
Matt Tucker added a comment - 03/31/05 04:38 PM Oh, if we do allow users to configure feature themselves, config could prob be done through data forms.
Hide
Ryan Graham added a comment - 03/31/05 05:51 PM

> So, as soon as the plugin gets the first message from another user, it would wait 30-45
> seconds to see if any other messages come in from the same user and then send out the
> email.

Are you thinking then that it would just send a single aggregated email for all messages received during that time span?

> config could prob be done through data forms.

Yup, that's what I was thinking too.

Show
Ryan Graham added a comment - 03/31/05 05:51 PM > So, as soon as the plugin gets the first message from another user, it would wait 30-45 > seconds to see if any other messages come in from the same user and then send out the > email. Are you thinking then that it would just send a single aggregated email for all messages received during that time span? > config could prob be done through data forms. Yup, that's what I was thinking too.
Hide
wroot added a comment - 03/31/05 07:19 PM

yea, i was thinking about agregation function. user should be able to select whether get instant email notification or all offline messages for some period of time at once. Maybe some deviding by users (separated mails). I can think of many things, but it could be hard to implement them all. So we just need plain notofication plugin at first

Show
wroot added a comment - 03/31/05 07:19 PM yea, i was thinking about agregation function. user should be able to select whether get instant email notification or all offline messages for some period of time at once. Maybe some deviding by users (separated mails). I can think of many things, but it could be hard to implement them all. So we just need plain notofication plugin at first
Hide
Ryan Graham added a comment - 06/07/05 01:42 PM

A nice feature would be to give users the ability to send email to Messenger that would then be delivered as an IM. See the discussion in the thread below:

http://www.jivesoftware.org/forums/thread.jspa?messageID=98794&#98794

Show
Ryan Graham added a comment - 06/07/05 01:42 PM A nice feature would be to give users the ability to send email to Messenger that would then be delivered as an IM. See the discussion in the thread below: http://www.jivesoftware.org/forums/thread.jspa?messageID=98794&#98794
Hide
Ryan Graham added a comment - 06/07/05 04:27 PM

Link to forums discussion about receiving email:

http://www.jivesoftware.org/forums/thread.jspa?threadID=14840

Show
Ryan Graham added a comment - 06/07/05 04:27 PM Link to forums discussion about receiving email: http://www.jivesoftware.org/forums/thread.jspa?threadID=14840
Hide
Jörg Weinmann added a comment - 06/20/05 10:05 PM

Hi!

I am interested in developing a plugin for this issue. In a first iteration I would like to include just a primitive message>email transformation.

Jörg

Show
Jörg Weinmann added a comment - 06/20/05 10:05 PM Hi! I am interested in developing a plugin for this issue. In a first iteration I would like to include just a primitive message>email transformation. Jörg
Hide
Ryan Graham added a comment - 06/22/05 03:51 PM

Hi Jörg,

Thanks for volunteering! A plugin that handles converting messages to email has actually already been written. But, after writing it and taking a step back I'm not sure if the way it works is the best approach. Basically what I'm doing is using a PacketIntereceptor to look for Message packets, if I find one I check to see if the recipient is offline, and if they are I queue the message up to be sent via email. The obvious problem with this approach is every Message packet needs to be inspected and every recipient needs to queried to see if they're offline. After talking it over with Matt, it was decided an offline message listener (similiar to the UserEventListener) would be the best way to go. Would you be interested in working on the offline message listener? If so, send me a email or private message me on the forums (username 'ryang') and we can discuss this further.

~Ryan

Show
Ryan Graham added a comment - 06/22/05 03:51 PM Hi Jörg, Thanks for volunteering! A plugin that handles converting messages to email has actually already been written. But, after writing it and taking a step back I'm not sure if the way it works is the best approach. Basically what I'm doing is using a PacketIntereceptor to look for Message packets, if I find one I check to see if the recipient is offline, and if they are I queue the message up to be sent via email. The obvious problem with this approach is every Message packet needs to be inspected and every recipient needs to queried to see if they're offline. After talking it over with Matt, it was decided an offline message listener (similiar to the UserEventListener) would be the best way to go. Would you be interested in working on the offline message listener? If so, send me a email or private message me on the forums (username 'ryang') and we can discuss this further. ~Ryan
Matt Tucker made changes - 07/07/05 02:03 AM
Field Original Value New Value
Fix Version/s 2.2.0 Beta 2 [ 10130 ]
Fix Version/s 2.2.0 Beta 1 [ 10040 ]
Matt Tucker made changes - 07/21/05 07:09 AM
Fix Version/s 2.2.0 Beta 2 [ 10130 ]
Fix Version/s 2.2.0 [ 10131 ]
Hide
Peter Awad added a comment - 07/24/05 07:34 PM

I've thought a lot about this sort of feature and would like to throw some ideas on the table if its not to late.

First the feature will need to be configurable by the user.
An option to choose email or SMS for sending would be great but email should be a necessity.
This feature should only apply when a user is offline.
When a message is received, an AI of sorts should respond back advising the user is offline and what options are available for messaging.
This could be a "handoff" to a full blown bot, I'll call it Simon for simplicty.

Simon would reply back - The user is not available how ever I have 3 messaging options available, an offline message, email, or SMS, which would you like.
User would reply back - offline / message , email, or SMS
Simon would reply back - I am ready for your message (in the event of SMS Simon should advise short message limits)
User would reply with message
Simon would reply - Your message (repeat message) has been received, would you like to start over, add more, or save?
User would reply with save and the transaction would be complete.

Any thoughts ideas or ojections?

Thanks Peter

Show
Peter Awad added a comment - 07/24/05 07:34 PM I've thought a lot about this sort of feature and would like to throw some ideas on the table if its not to late. First the feature will need to be configurable by the user. An option to choose email or SMS for sending would be great but email should be a necessity. This feature should only apply when a user is offline. When a message is received, an AI of sorts should respond back advising the user is offline and what options are available for messaging. This could be a "handoff" to a full blown bot, I'll call it Simon for simplicty. Simon would reply back - The user is not available how ever I have 3 messaging options available, an offline message, email, or SMS, which would you like. User would reply back - offline / message , email, or SMS Simon would reply back - I am ready for your message (in the event of SMS Simon should advise short message limits) User would reply with message Simon would reply - Your message (repeat message) has been received, would you like to start over, add more, or save? User would reply with save and the transaction would be complete. Any thoughts ideas or ojections? Thanks Peter
Matt Tucker made changes - 07/25/05 06:03 PM
Environment
Description Create a plugin that allows users to recieve an email notification if they are sent a message while offline. A couple of initial questions I have are:

* Should the email notification be configurable on a per user basis?
* Should a user be able to configure this feature themselves? If so, this may require individual/group permissions for the admin console.
Create a plugin that allows users to recieve an email notification if they are sent a message while offline. A couple of initial questions I have are:

* Should the email notification be configurable on a per user basis?
* Should a user be able to configure this feature themselves? If so, this may require individual/group permissions for the admin console.
Fix Version/s 2.2.1 [ 10140 ]
Fix Version/s 2.2.0 [ 10131 ]
Matt Tucker made changes - 08/17/05 09:43 AM
Fix Version/s 2.2.2 [ 10157 ]
Fix Version/s 2.2.1 [ 10140 ]
Matt Tucker made changes - 09/18/05 03:13 AM
Fix Version/s 2.3.1 [ 10157 ]
Fix Version/s 2.4.0 [ 10181 ]
Hide
Nicholas Mossie added a comment - 01/03/06 08:16 PM

Pretty close to emailing IMs while offline, but when away instead.. and integrated into vcard entries.

http://www.jivesoftware.org/community/thread.jspa?threadID=17208

download link:
http://www.tempstop.net/emailOnAway-plugin.tgz

Show
Nicholas Mossie added a comment - 01/03/06 08:16 PM Pretty close to emailing IMs while offline, but when away instead.. and integrated into vcard entries. http://www.jivesoftware.org/community/thread.jspa?threadID=17208 download link: http://www.tempstop.net/emailOnAway-plugin.tgz
Gaston Dombiak made changes - 04/17/06 07:37 PM
Fix Version/s 3.x [ 10181 ]
Hide
niranjan added a comment - 09/20/06 12:33 PM

Hi All,

I am a new guy in this group.
Thought ofg joining the discussion.

The working of the pluggin is i think somewhat similar the way you
subscribe to google groups. You can get all the messages posted
delivered to your email instantly or you can get all the messages
posted delivered to you once in a day.
The frequency of emails is configurable

So once the user installs the pluggin and configures the setting
(frequency of mails) which i think we can be stored in jiveuserprop
The Email Service should count him in and check for the offline messages for
the user and mail should be dispatched.

regards
Niranjan

Show
niranjan added a comment - 09/20/06 12:33 PM Hi All, I am a new guy in this group. Thought ofg joining the discussion. The working of the pluggin is i think somewhat similar the way you subscribe to google groups. You can get all the messages posted delivered to your email instantly or you can get all the messages posted delivered to you once in a day. The frequency of emails is configurable So once the user installs the pluggin and configures the setting (frequency of mails) which i think we can be stored in jiveuserprop The Email Service should count him in and check for the offline messages for the user and mail should be dispatched. regards Niranjan
Daryl Herzmann made changes - 01/11/10 06:54 PM
Component/s Plugins [ 10020 ]
Affects Version/s 2.1.2 [ 10060 ]
Component/s Plugins [ 10235 ]
Key JM-236 OF-324
Project Openfire (ARCHIVED) [ 10010 ] Openfire [ 10140 ]

People

Dates

  • Created:
    03/31/05 02:38 PM
    Updated:
    01/11/10 06:54 PM