<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -74,8 +74,6 @@ class Mail
   def send
     return false if not valid?
 
-    reply_to = reply_to || from
-
     plain_body = (page.part( :email ) ? page.render_part( :email ) : page.render_part( :email_plain ))
     html_body = page.render_part( :email_html ) || nil
 
@@ -86,7 +84,7 @@ The following information was posted:
       EMAIL
     end
 
-    headers = { 'Reply-To' =&gt; reply_to }
+    headers = { 'Reply-To' =&gt; reply_to || from }
     if sender
       headers['Return-Path'] = sender
       headers['Sender'] = sender</diff>
      <filename>app/models/mail.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9a1c9a31ef5fe8b67dfc1d542eebf6b71db8c48e</id>
    </parent>
  </parents>
  <author>
    <name>Michael Klett</name>
    <email>michael@webadvocate.com</email>
  </author>
  <url>http://github.com/radiant/radiant-mailer-extension/commit/b661842349b8019d98aac9b50a576541d5f01d13</url>
  <id>b661842349b8019d98aac9b50a576541d5f01d13</id>
  <committed-date>2009-02-11T18:33:37-08:00</committed-date>
  <authored-date>2008-12-13T06:53:08-08:00</authored-date>
  <message>Fix bug where the reply_to settings in the configuration would be ignored on the resulting email.

Signed-off-by: Radiant CMS dev team &lt;radiant@prime-motif.com&gt;</message>
  <tree>d3504921e57713ddc160e1ed0cafb01b3199ad9a</tree>
  <committer>
    <name>Radiant CMS dev team</name>
    <email>radiant@prime-motif.com</email>
  </committer>
</commit>
