public
Description: Tog Platform Internal Message System Component
Homepage: http://www.toghq.com
Clone URL: git://github.com/tog/tog_mail.git
aitor (author)
Wed Jul 01 13:23:44 -0700 2009
commit  4c84b4891c588390e3af426e5934542c16873420
tree    940bcf369a5466bd61279da27f4ad9a11bff1f58
parent  956f9ea803d250a8973cf5094ed75bf5d7c9cd91
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].