- **QA**: Tim Van Steenburgh
- **Milestone**: forge-nov-29 --> forge-nov-15



---

** [tickets:#6694] Form to send message to a user**

**Status:** code-review
**Labels:** 42cc 
**Created:** Fri Sep 20, 2013 07:15 PM UTC by Dave Brondsema
**Last Updated:** Mon Nov 04, 2013 10:10 AM UTC
**Owner:** nobody

User profile pages should have a link to send a message to a user.  This would 
send an email to their primary email address on record (if an email address is 
set).  Similar to SourceForge's old 
https://sourceforge.net/sendmessage.php?touser=2904855

The sender address should be the actual email address of the sender, so that 
the recipient may reply.

We should include rate limiting so that a user cannot send too many messages.  
The old SF one has rate limiting implemented as: a mongo collection that stores 
{_id: user id, times: [array of times when messages sent]} and 2 config values 
for max # of messages and time interval.  When accessing the form or posting 
the form, check to see if the times array and delete any older than the config 
interval, if the size of the array is larger than the config max # messages, 
show an error to the user.  When posting the form successfully, append a new 
timestamp to the 'times' array.

Include an option to CC the sender.


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed 
to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.

Reply via email to