tog / tog_mail

Tog Platform Internal Message System Component

This URL has Read+Write access

aitor (author)
Fri Dec 18 10:39:34 -0800 2009
commit  983b465a76056127753e6bb7c51e18a086b1b542
tree    a8034eaadf0b24b1f2321ae058dd09d5899d8440
parent  d6e689e5f74ae00db978868c669eca2173144a6a
name age message
file .gitignore Tue May 05 10:41:29 -0700 2009 added .svn to gitignore [molpe]
file CHANGELOG.md Fri Dec 18 10:39:34 -0800 2009 Release v0.6.0 [aitor]
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/ Thu Nov 19 03:50:50 -0800 2009 New languade added: Brazilian Portuguese [Rafael]
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].