public
Description: Tog Platform Internal Message System Component
Homepage: http://www.toghq.com
Clone URL: git://github.com/tog/tog_mail.git
aitor (author)
Thu Aug 27 08:17:17 -0700 2009
commit  b670a35b4d5b6496e81c3fe9fc98efb1a38ce4f2
tree    4bc653ff1efba61be2312f694478afb4d0aa7359
parent  4c84b4891c588390e3af426e5934542c16873420
tog_mail / README
100644 37 lines (22 sloc) 0.924 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
= tog_mail
 
internal messaging system
 
== Included functionality
 
# Multiple folders
# Send messages to your friend list
# Send messages to a given user
 
== Usage
 
tog_mail comes with a complete interface for sending messages, manage your inbox, etc. But you still can send messages using tog_mail programatically or put link to send messages in any other places.
 
=== Send messages programatically
 
@message = Message.new(
:from => current_user,
:to => to_user,
:subject => sanitize(params[:message][:subject]),
:content => sanitize(params[:message][:content])
)
@message.dispatch!
 
=== Link to send a mail to a given user
 
<%= link_to 'Send message', member_new_message_to_path(user) %>
 
 
== Authors and credits
 
Authors:: Roberto Salicio, Alberto Molpeceres, Aitor Garcia
Website:: http://www.toghq.com
 
 
Want to discuss, request features, ask questions? Just visit {www.toghq.com}[http://www.toghq.com].