public
Description: Tog Platform Internal Message System Component
Homepage: http://www.toghq.com
Clone URL: git://github.com/tog/tog_mail.git
name age message
file .gitignore Tue May 05 10:41:29 -0700 2009 added .svn to gitignore [molpe]
file CHANGELOG.md Loading commit data...
file MIT-LICENSE Thu Sep 04 11:13:50 -0700 2008 messages migrated, still can't see a msg [molpe]
file README Fri Dec 05 02:09:39 -0800 2008 some usage information [molpe]
file Rakefile Wed Jan 28 11:57:06 -0800 2009 Every internal message should send a regular em... [aitor]
directory app/ Wed Jun 10 19:49:25 -0700 2009 Removed version [aitor]
directory config/ Mon May 18 02:34:40 -0700 2009 Renamed routes.rb to desert_routes.rb Signed-o... [Andrei Erdoss]
directory db/ Wed Oct 08 02:09:37 -0700 2008 Default folders added to every user on migration [aitor]
file init.rb Wed Jun 10 15:19:35 -0700 2009 moved from observer to active record filters. O... [aitor]
directory locale/
directory test/ Wed Jun 17 04:52:24 -0700 2009 shoulda 2.10.1 required [aitor]
README
= 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].