<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,6 +8,24 @@ internal messaging system
 # 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     =&gt; current_user,
+:to       =&gt; to_user,
+:subject  =&gt; sanitize(params[:message][:subject]),
+:content  =&gt; sanitize(params[:message][:content])
+)
+@message.dispatch!
+
+=== Link to send a mail to a given user
+
+&lt;%= link_to 'Send message', member_new_message_to_path(user) %&gt;
+
 
 == Authors and credits
 </diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3a0afde678b5c15c889dd0d1b2d6e3f8cb0d8a9a</id>
    </parent>
  </parents>
  <author>
    <name>Alberto Molpeceres</name>
    <email>alberto.molpeceres@gmail.com</email>
  </author>
  <url>http://github.com/tog/tog_mail/commit/1aae5f3d7e4ac6844bab96938b38614cbdb73b69</url>
  <id>1aae5f3d7e4ac6844bab96938b38614cbdb73b69</id>
  <committed-date>2008-12-05T02:09:39-08:00</committed-date>
  <authored-date>2008-12-05T02:09:39-08:00</authored-date>
  <message>some usage information</message>
  <tree>9e45439a1b750daf7585387ee19ce27f43bfb4b8</tree>
  <committer>
    <name>Alberto Molpeceres</name>
    <email>alberto.molpeceres@gmail.com</email>
  </committer>
</commit>
