<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/et/list_send_email.rxml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -22,13 +22,13 @@
   
   Original development work was performed by Todd A. Fisher.
   
-  Minor changes and forking to Git have been added by Shanti A. Braford.  (shantibraford@gmail.com)
+  Forking development to GitHub + minor development additions/changes by Shanti A. Braford.
   
 == Contributing
 
-  If you'd like to contribute, fork a copy of the repo on GitHub, or directly via:
+  If you'd like to contribute, fork a copy of the repo on GitHub.
   
-  GitHub home: http://github.com/sbraford/rbet/tree/master
+  When you have patch(es) ready, contact me at:shantibraford@gmail.com
 
 == Notes
 </diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -126,7 +126,19 @@ module ET
       doc = Hpricot.XML( response.read_body )
       doc.at(&quot;list_description&quot;).inner_html.to_i
     end
-
+    
+    def send_email(list_id, email_id, attrs = {})
+      defaults = {:from_name =&gt; '', :from_email =&gt; '', :additional =&gt; '',
+                  :multipart_mime =&gt; true, :track_links =&gt; true, :send_date =&gt; 'immediate', :send_time =&gt; ''}
+      @list_id, @email_id = list_id, email_id
+      @extra_attrs = defaults.merge(attrs)
+      response = send do|io|
+        io &lt;&lt; render_template('list_send_email')
+      end
+      Error.check_response_error(response)
+      puts &quot;Response Body: #{response.read_body} \n&quot;
+      #doc = Hpricot.XML( response.read_body )
+    end
 
   end
 end</diff>
      <filename>lib/et/list.rb</filename>
    </modified>
    <modified>
      <diff>@@ -31,7 +31,7 @@ module ET
   # usage:
   #
   #   # get an existing subscriber
-  #   subscriber = Subscriber.retrieve('user@example.com')
+  #   subscriber = Subscriber.load!('user@example.com')
   #   =&gt; ET::Subscriber
   #
   #   # check if the user is subscribed to a specific list
@@ -58,7 +58,7 @@ module ET
       super
       @attrs = {}
     end
-
+    
     def load!(email)
       @email = email
       response = send do|io|</diff>
      <filename>lib/et/subscriber.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d5b390cde37f95b8faf0d35a982a3e78c4a551ab</id>
    </parent>
  </parents>
  <author>
    <name>shanti</name>
    <email>sems@peterstolpe.sparqtraining.local</email>
  </author>
  <url>http://github.com/sbraford/rbet/commit/8d005e2fb425978c0ed87e6564916dc94b2ca2a3</url>
  <id>8d005e2fb425978c0ed87e6564916dc94b2ca2a3</id>
  <committed-date>2008-10-23T17:53:43-07:00</committed-date>
  <authored-date>2008-10-23T17:53:43-07:00</authored-date>
  <message>added ability to send emails via the API</message>
  <tree>3a6c9e1d7a0305f0be05aeb2db280441f7e3c5bc</tree>
  <committer>
    <name>shanti</name>
    <email>sems@peterstolpe.sparqtraining.local</email>
  </committer>
</commit>
