<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">15159</assigned-user-id>
  <attachments-count type="integer">0</attachments-count>
  <closed type="boolean">false</closed>
  <created-at type="datetime">2008-11-03T17:58:02+00:00</created-at>
  <creator-id type="integer">1366</creator-id>
  <milestone-due-on type="datetime">2009-05-01T00:00:00+01:00</milestone-due-on>
  <milestone-id type="integer">34116</milestone-id>
  <number type="integer">25</number>
  <permalink>action-mailer-basics</permalink>
  <priority type="integer">1</priority>
  <project-id type="integer">16213</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>taken</state>
  <tag>correction</tag>
  <title>Action Mailer Basics</title>
  <updated-at type="datetime">2010-02-06T13:56:22+00:00</updated-at>
  <user-id type="integer">57114</user-id>
  <user-name>pulkit pancholi</user-name>
  <creator-name>Pratik</creator-name>
  <assigned-user-name>Mikel Lindsaar</assigned-user-name>
  <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
  <milestone-title>Guides Batch 3</milestone-title>
  <original-body>Guide should cover all the public facing features of Action Mailer and testing.</original-body>
  <latest-body>Guide should cover all the public facing features of Action Mailer and testing.</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;Guide should cover all the public facing features of Action
Mailer and testing.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Guide should cover all the public facing features of Action Mailer and testing.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Guide should cover all the public facing features of Action
Mailer and testing.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-11-03T17:58:02+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>available</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2008-11-03T17:58:05+00:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I will work on it.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I will work on it.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-11-03T21:18:29+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>available</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2008-11-03T21:18:34+00:00</updated-at>
      <user-id type="integer">36381</user-id>
      <user-name>Elad Meidar</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-11-03T21:37:14+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:state: available
</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2008-11-03T21:37:16+00:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-11-04T13:14:49+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 1366
</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2008-11-04T13:14:51+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Any progress on this, or should we reassign?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Any progress on this, or should we reassign?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-12T21:12:09+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-12T21:12:15+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>wow, i probably got it wrong... when i saw the &quot;Assigned user changed&quot; i thought you gave it to someone else (e.a Mike), so i practically didn't do so much...</body>
      <body-html>&lt;div&gt;&lt;p&gt;wow, i probably got it wrong... when i saw the &quot;Assigned user
changed&quot; i thought you gave it to someone else (e.a Mike), so i
practically didn't do so much...&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-12T21:28:39+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-12T21:28:43+00:00</updated-at>
      <user-id type="integer">36381</user-id>
      <user-name>Elad Meidar</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Ah....process fail. Assigned user = editor in this case.

So...you still interested?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Ah....process fail. Assigned user = editor in this case.&lt;/p&gt;
&lt;p&gt;So...you still interested?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-12T21:32:36+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-12T21:32:38+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Yeah, sure... do you wish to state a tentative deadline? so i will be able to re-arrange my timeline?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Yeah, sure... do you wish to state a tentative deadline? so i
will be able to re-arrange my timeline?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-12T21:41:18+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-12T21:41:19+00:00</updated-at>
      <user-id type="integer">36381</user-id>
      <user-name>Elad Meidar</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>We are trying to be *finished* by the end of this month. So it would be good to see a first draft by late this week.</body>
      <body-html>&lt;div&gt;&lt;p&gt;We are trying to be &lt;em&gt;finished&lt;/em&gt; by the end of this month.
So it would be good to see a first draft by late this week.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-12T22:09:30+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-12T22:09:33+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>sorry, but i will not be able to even finish drafting it this week, i am just in a beta release month right now, i guess you should re-assign... sorry about that owner error, i will try to help with other things later on the way.</body>
      <body-html>&lt;div&gt;&lt;p&gt;sorry, but i will not be able to even finish drafting it this
week, i am just in a beta release month right now, i guess you
should re-assign... sorry about that owner error, i will try to
help with other things later on the way.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-12T22:30:05+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-12T22:30:10+00:00</updated-at>
      <user-id type="integer">36381</user-id>
      <user-name>Elad Meidar</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Hi, all,

I would be willing to take this on. Given that this is my first time, what would be a realistic target other than late this week for that draft?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hi, all,&lt;/p&gt;
&lt;p&gt;I would be willing to take this on. Given that this is my first
time, what would be a realistic target other than late this week
for that draft?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-13T19:05:54+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-13T19:05:58+00:00</updated-at>
      <user-id type="integer">7525</user-id>
      <user-name>Ahmed El-Daly</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Ahmed - So, sorry for getting too busy to respond to you :) At the moment, it doesn't seem that anyone else is working on this: what do you think a realistic date for a first draft it? We would like to push out by the end of the month, but that's pretty tight. Still, if we saw some progress next week, that would be a good start.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Ahmed - So, sorry for getting too busy to respond to you :) At
the moment, it doesn't seem that anyone else is working on this:
what do you think a realistic date for a first draft it? We would
like to push out by the end of the month, but that's pretty tight.
Still, if we saw some progress next week, that would be a good
start.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-17T15:33:21+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-17T15:33:23+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Hi :)

I just committed a draft. It's my first attempt at a rails guide, so wanted to get some early feedback. It's only missing the testing part.

Please have a look at the document, and let me know if I'm on the right track.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hi :)&lt;/p&gt;
&lt;p&gt;I just committed a draft. It's my first attempt at a rails
guide, so wanted to get some early feedback. It's only missing the
testing part.&lt;/p&gt;
&lt;p&gt;Please have a look at the document, and let me know if I'm on
the right track.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-17T21:42:57+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-17T21:42:59+00:00</updated-at>
      <user-id type="integer">7525</user-id>
      <user-name>Ahmed El-Daly</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Looks like you're off to a good (and fast) start. Thanks! When you've got a full draft together, we can start editing/nitpicking/etc.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Looks like you're off to a good (and fast) start. Thanks! When
you've got a full draft together, we can start
editing/nitpicking/etc.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-17T22:29:26+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-17T22:29:30+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Agree with Mike. Very good start. Do drop by #docrails @ irc.freenode.net if you need any help or anything!

Thanks.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Agree with Mike. Very good start. Do drop by #docrails @
irc.freenode.net if you need any help or anything!&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-17T22:41:32+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-17T22:41:35+00:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>OK guys, just committed first draft. Please provide your comments.</body>
      <body-html>&lt;div&gt;&lt;p&gt;OK guys, just committed first draft. Please provide your
comments.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-22T03:19:53+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-22T03:19:57+00:00</updated-at>
      <user-id type="integer">7525</user-id>
      <user-name>Ahmed El-Daly</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Nice start. The sections of the guides should be something like :

* Introduction
* Sending Emails
  - Generate a Mailer
  - Creating an example mailer
  - Explain how dynamic methods are generated to send emails
  - Explain all the adv_attr_accessor fields from action_mailer/base.rb ( i.e cc, body etc. )
  - Explain where are the views of a mailer located and how the default view gets picked up and how to change it
  - Explain using mailer layouts
  - How to send multipart html emails
  - How mime type translates to the template name
  - How to use default_url_options and why
* Receiving Emails
  - How
  - Example
* Mailer Helpers
* Mailer Testing
* Configuration
  - All the options from action_mailer/base.rb
  - Probably mention somewhere how to use gmail ( you have to set some SSL shit for that )</body>
      <body-html>&lt;div&gt;&lt;p&gt;Nice start. The sections of the guides should be something like
:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Introduction&lt;/li&gt;
&lt;li&gt;Sending Emails
&lt;ul&gt;
&lt;li&gt;Generate a Mailer&lt;/li&gt;
&lt;li&gt;Creating an example mailer&lt;/li&gt;
&lt;li&gt;Explain how dynamic methods are generated to send emails&lt;/li&gt;
&lt;li&gt;Explain all the adv_attr_accessor fields from
action_mailer/base.rb ( i.e cc, body etc. )&lt;/li&gt;
&lt;li&gt;Explain where are the views of a mailer located and how the
default view gets picked up and how to change it&lt;/li&gt;
&lt;li&gt;Explain using mailer layouts&lt;/li&gt;
&lt;li&gt;How to send multipart html emails&lt;/li&gt;
&lt;li&gt;How mime type translates to the template name&lt;/li&gt;
&lt;li&gt;How to use default_url_options and why&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Receiving Emails
&lt;ul&gt;
&lt;li&gt;How&lt;/li&gt;
&lt;li&gt;Example&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Mailer Helpers&lt;/li&gt;
&lt;li&gt;Mailer Testing&lt;/li&gt;
&lt;li&gt;Configuration
&lt;ul&gt;
&lt;li&gt;All the options from action_mailer/base.rb&lt;/li&gt;
&lt;li&gt;Probably mention somewhere how to use gmail ( you have to set
some SSL shit for that )&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-23T15:31:04+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-23T15:32:50+00:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Reformatted my message above.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Reformatted my message above.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-23T15:33:06+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-23T15:33:09+00:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>OK, sounds good</body>
      <body-html>&lt;div&gt;&lt;p&gt;OK, sounds good&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-23T18:07:43+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-23T18:07:49+00:00</updated-at>
      <user-id type="integer">7525</user-id>
      <user-name>Ahmed El-Daly</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Just committed another draft. It's almost there, I think. I'm planning to have the rest done on Saturday.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Just committed another draft. It's almost there, I think. I'm
planning to have the rest done on Saturday.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-30T04:06:21+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-30T04:06:26+00:00</updated-at>
      <user-id type="integer">7525</user-id>
      <user-name>Ahmed El-Daly</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>OK guys, first draft complete. Check it out and please let me know your comments.

Cheers.</body>
      <body-html>&lt;div&gt;&lt;p&gt;OK guys, first draft complete. Check it out and please let me
know your comments.&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-31T21:15:42+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-01-31T21:15:46+00:00</updated-at>
      <user-id type="integer">7525</user-id>
      <user-name>Ahmed El-Daly</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Thanks Ahmed El-Daly, I plan to review it in a couple of days.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks Ahmed El-Daly, I plan to review it in a couple of
days.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-01T00:07:34+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-02-01T00:07:40+00:00</updated-at>
      <user-id type="integer">11378</user-id>
      <user-name>Xavier Noria</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Hi Ahmed El-Daly, I've reviewed up to section 2.2.

My feeling is that the content is well-covered in general, this is a good first draft (modulus I've not read in detail the rest of the guide). We will probably need a few passes to get the style right though.

In general we prefer a style that is less conversational. Just simple and declarative sentences, and no smileys. Would you please do an overall revision following these guidelines?

There were some minor details I edited in the source of the guide to speed up the review process. Please pull them!

I don't think it is on-topic to enter a debate about where to put observers. To keep the focus on mailers, could you just pick the conventional location (app/models) and simplify that part?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hi Ahmed El-Daly, I've reviewed up to section 2.2.&lt;/p&gt;
&lt;p&gt;My feeling is that the content is well-covered in general, this
is a good first draft (modulus I've not read in detail the rest of
the guide). We will probably need a few passes to get the style
right though.&lt;/p&gt;
&lt;p&gt;In general we prefer a style that is less conversational. Just
simple and declarative sentences, and no smileys. Would you please
do an overall revision following these guidelines?&lt;/p&gt;
&lt;p&gt;There were some minor details I edited in the source of the
guide to speed up the review process. Please pull them!&lt;/p&gt;
&lt;p&gt;I don't think it is on-topic to enter a debate about where to
put observers. To keep the focus on mailers, could you just pick
the conventional location (app/models) and simplify that part?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-02T23:47:05+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-02-02T23:47:07+00:00</updated-at>
      <user-id type="integer">11378</user-id>
      <user-name>Xavier Noria</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>All, I'm ready to check in my changes, but it's all written in asciidoc. I read on the riding rails blog that it's all textile now. What tool did you guys use to convert from asciidoc to textile? I'll need to do that before I commit, I gather?</body>
      <body-html>&lt;div&gt;&lt;p&gt;All, I'm ready to check in my changes, but it's all written in
asciidoc. I read on the riding rails blog that it's all textile
now. What tool did you guys use to convert from asciidoc to
textile? I'll need to do that before I commit, I gather?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-08T01:40:09+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-02-08T01:40:14+00:00</updated-at>
      <user-id type="integer">7525</user-id>
      <user-name>Ahmed El-Daly</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>We converted some of them manually and later had a script to give a
headstart ( toretore might still have it ). It should be simple enough
really translating from asciidoc to textile.</body>
      <body-html>&lt;div&gt;&lt;p&gt;We converted some of them manually and later had a script to
give a headstart ( toretore might still have it ). It should be
simple enough really translating from asciidoc to textile.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-08T02:07:55+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-02-08T02:07:56+00:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Committed a new revision yesterday. Thanks.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Committed a new revision yesterday. Thanks.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-09T15:30:28+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-02-09T15:30:33+00:00</updated-at>
      <user-id type="integer">7525</user-id>
      <user-name>Ahmed El-Daly</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Guys, I can work on this tomorrow if you provide feedback.

Thanks,
Ahmed</body>
      <body-html>&lt;div&gt;&lt;p&gt;Guys, I can work on this tomorrow if you provide feedback.&lt;/p&gt;
&lt;p&gt;Thanks, Ahmed&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-11T19:05:53+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-02-11T19:05:54+00:00</updated-at>
      <user-id type="integer">7525</user-id>
      <user-name>Ahmed El-Daly</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Hi Ahmed El-Daly, I made a complete pass. The content looks quite there, I basically

* reworded some stuff,
* corrected typos, punctuation, etc.
* removed any mention to app/observers,
* changed email template filenames to contain proper content types as in welcome_email.text.plain.erb, and
* removed the epilogue about TDD, because a guide is not a proper place to do apology of other topics.

I think it still needs a second pass, but the guide is taking shape.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hi Ahmed El-Daly, I made a complete pass. The content looks
quite there, I basically&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;reworded some stuff,&lt;/li&gt;
&lt;li&gt;corrected typos, punctuation, etc.&lt;/li&gt;
&lt;li&gt;removed any mention to app/observers,&lt;/li&gt;
&lt;li&gt;changed email template filenames to contain proper content
types as in welcome_email.text.plain.erb, and&lt;/li&gt;
&lt;li&gt;removed the epilogue about TDD, because a guide is not a proper
place to do apology of other topics.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I think it still needs a second pass, but the guide is taking
shape.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-15T01:31:47+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-02-15T01:31:51+00:00</updated-at>
      <user-id type="integer">11378</user-id>
      <user-name>Xavier Noria</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>just went through the process of creating a mailer based on the instructions in this guide. Was very helpful, but I ran into one problem. In the model, the following line caused errors:

@@@
    body          {:user =&gt; user, :url =&gt; &quot;http://example.com/login&quot;}
@@@

I had to change the line to 

@@@
   body           :user =&gt; user, :url =&gt; &quot;http://www.example.com/login&quot;
@@@

I'm using Rails 2.2.2</body>
      <body-html>&lt;div&gt;&lt;p&gt;just went through the process of creating a mailer based on the
instructions in this guide. Was very helpful, but I ran into one
problem. In the model, the following line caused errors:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
    body          {:user =&amp;gt; user, :url =&amp;gt; &amp;quot;http://example.com/login&amp;quot;}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I had to change the line to&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
   body           :user =&amp;gt; user, :url =&amp;gt; &amp;quot;http://www.example.com/login&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I'm using Rails 2.2.2&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-24T19:43:55+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-02-24T19:43:59+00:00</updated-at>
      <user-id type="integer">37336</user-id>
      <user-name>francois</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I'm the author of the ActionMailerTLS gem and I'd like to report an update to ActionMailer and Gmail.

OpenRain's repository has moved over to GitHub.com. ActionMailerTLS is now located at:  http://github.com/openrain/action_mailer_tls/tree/master

Furthermore, sites running Rails &gt;= 2.2.1 [RC2] and Ruby 1.8.7, don't need this gem since 1.8.7 supports SMTP TLS and Rails 2.2.1 ships with an option to enable it.

Basically, you need to pass the following settings along:

ActionMailer::Base.smtp_settings = {
  :address =&gt; &quot;smtp.gmail.com&quot;,
  :port =&gt; 587,
  :authentication =&gt; :plain,
  :enable_starttls_auto =&gt; true
  :user_name: your_username@gmail.com
  :password: h@ckme
}

Note: You must set :enable_starttls_auto to true.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I'm the author of the ActionMailerTLS gem and I'd like to report
an update to ActionMailer and Gmail.&lt;/p&gt;
&lt;p&gt;OpenRain's repository has moved over to GitHub.com.
ActionMailerTLS is now located at: &lt;a href=&quot;http://github.com/openrain/action_mailer_tls/tree/master&quot;&gt;http://github.com/openrain/actio...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Furthermore, sites running Rails &amp;gt;= 2.2.1 [RC2] and Ruby
1.8.7, don't need this gem since 1.8.7 supports SMTP TLS and Rails
2.2.1 ships with an option to enable it.&lt;/p&gt;
&lt;p&gt;Basically, you need to pass the following settings along:&lt;/p&gt;
&lt;p&gt;ActionMailer::Base.smtp_settings = { :address =&amp;gt;
&quot;smtp.gmail.com&quot;, :port =&amp;gt; 587, :authentication =&amp;gt; :plain,
:enable_starttls_auto =&amp;gt; true :user_name: &lt;a href=&quot;mailto:your_username@gmail.com&quot;&gt;your_username@gmail.com&lt;/a&gt;
:password: h@ckme }&lt;/p&gt;
&lt;p&gt;Note: You must set :enable_starttls_auto to true.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-24T21:05:42+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-02-24T21:05:45+00:00</updated-at>
      <user-id type="integer">17408</user-id>
      <user-name>marc</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Apologies for the bad formatting.  The details are all documented here:

http://github.com/openrain/action_mailer_tls/tree/master</body>
      <body-html>&lt;div&gt;&lt;p&gt;Apologies for the bad formatting. The details are all documented
here:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://github.com/openrain/action_mailer_tls/tree/master&quot;&gt;http://github.com/openrain/actio...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-24T21:07:23+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-02-24T21:07:24+00:00</updated-at>
      <user-id type="integer">17408</user-id>
      <user-name>marc</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">7211</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Mike, Pratik,

Newb here :) Do I make those changes myself? Or is there no more involvement needed from me?

Thanks.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Mike, Pratik,&lt;/p&gt;
&lt;p&gt;Newb here :) Do I make those changes myself? Or is there no more
involvement needed from me?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-26T15:26:11+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-02-26T15:26:13+00:00</updated-at>
      <user-id type="integer">7525</user-id>
      <user-name>Ahmed El-Daly</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mike Gunderloy</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-14T16:47:30+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 7211
</diffable-attributes>
      <milestone-id type="integer">21487</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-03-14T16:47:31+00:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 2</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-15T00:35:29+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:milestone: 21487
</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-03-15T00:35:31+00:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I believe there is an error in section 2.1.2, in the welcome_email example.

The example include curly braces around the hash specifying the body variables:

@@@ ruby 
body {:user =&gt; user, :url =&gt; &quot;http://example.com/login&quot;}
@@@

In practice, using the curly braces results in a syntax error like this: syntax error, unexpected tASSOC, expecting '}'

Instead, the example should read:

@@@ ruby 
body :user =&gt; user, :url =&gt; &quot;http://example.com/login&quot;
@@@

This error also occurs in section 2.4 (also the welcome_email example).</body>
      <body-html>&lt;div&gt;&lt;p&gt;I believe there is an error in section 2.1.2, in the
welcome_email example.&lt;/p&gt;
&lt;p&gt;The example include curly braces around the hash specifying the
body variables:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
body {:user =&amp;gt; user, :url =&amp;gt; &amp;quot;http://example.com/login&amp;quot;}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In practice, using the curly braces results in a syntax error
like this: syntax error, unexpected tASSOC, expecting '}'&lt;/p&gt;
&lt;p&gt;Instead, the example should read:&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
body :user =&amp;gt; user, :url =&amp;gt; &amp;quot;http://example.com/login&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This error also occurs in section 2.4 (also the welcome_email
example).&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-04-13T16:07:33+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-04-13T16:07:34+01:00</updated-at>
      <user-id type="integer">53896</user-id>
      <user-name>Jake Paul</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>using 

@@@ ruby
:host =&gt; &quot;example.com&quot;
@@@

does not seem to have any affect in Rails 2.3.2</body>
      <body-html>&lt;div&gt;&lt;p&gt;using&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
:host =&amp;gt; &amp;quot;example.com&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;does not seem to have any affect in Rails 2.3.2&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-04-30T21:52:03+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag nil="true"></tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-04-30T21:52:06+01:00</updated-at>
      <user-id type="integer">37336</user-id>
      <user-name>francois</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>as told here
https://rails.lighthouseapp.com/projects/8994/tickets/2863-achtionmailer-multipart-w-attachment-issues#ticket-2863-1
the multipart-with-attachment guide does not work

the solution for this example would be:

@@@ ruby
class UserMailer &lt; ActionMailer::Base 
  def welcome_email(user) 
    @recipients  = user.email_address
    @from        = &quot;New account information&quot; 
    @sent_on     = Time.now
    
    @subject     = &quot;system@example.com&quot;
    
    #content_type    &quot;multipart/alternative&quot;  the attachments dont belong to this multipart..

    part(:content_type =&gt; &quot;multipart/alternative&quot;) do |p|  #only the alternatives here!
      p.part(:content_type =&gt; &quot;text/plain&quot;,
             :body =&gt; render_message(&quot;welcome_email_plain&quot;, :message =&gt; &quot;&lt;h1&gt;HTML content&lt;/h1&gt;&quot;))
      p.part(:content_type =&gt; &quot;text/html&quot;,
             :body =&gt; render_message(&quot;welcome_email_html&quot;,  :message =&gt; &quot;text content&quot;))
    end
   
   
    attachment  :content_type =&gt; &quot;image/jpeg&quot;,  
                :body =&gt; File.read(&quot;an-image.jpg&quot;)  

    attachment &quot;application/pdf&quot; do |a| 
        a.body = generate_your_pdf_here()  
    end   
  end
end
@@@</body>
      <body-html>&lt;div&gt;&lt;p&gt;as told here&lt;br&gt;
&lt;a href=
&quot;https://rails.lighthouseapp.com/projects/8994/tickets/2863-achtionmailer-multipart-w-attachment-issues#ticket-2863-1&quot;&gt;
https://rails.lighthouseapp.com/projects/8994/tickets/2863-achtionm...&lt;/a&gt;&lt;br&gt;
the multipart-with-attachment guide does not work&lt;/p&gt;
&lt;p&gt;the solution for this example would be:&lt;/p&gt;
&lt;pre&gt;
&lt;code class=&quot;ruby&quot;&gt;class UserMailer &amp;lt; ActionMailer::Base 
  def welcome_email(user) 
    @recipients  = user.email_address
    @from        = &quot;New account information&quot; 
    @sent_on     = Time.now
    
    @subject     = &quot;system@example.com&quot;
    
    #content_type    &quot;multipart/alternative&quot;  the attachments dont belong to this multipart..

    part(:content_type =&amp;gt; &quot;multipart/alternative&quot;) do |p|  #only the alternatives here!
      p.part(:content_type =&amp;gt; &quot;text/plain&quot;,
             :body =&amp;gt; render_message(&quot;welcome_email_plain&quot;, :message =&amp;gt; &quot;&amp;lt;h1&amp;gt;HTML content&amp;lt;/h1&amp;gt;&quot;))
      p.part(:content_type =&amp;gt; &quot;text/html&quot;,
             :body =&amp;gt; render_message(&quot;welcome_email_html&quot;,  :message =&amp;gt; &quot;text content&quot;))
    end
   
   
    attachment  :content_type =&amp;gt; &quot;image/jpeg&quot;,  
                :body =&amp;gt; File.read(&quot;an-image.jpg&quot;)  

    attachment &quot;application/pdf&quot; do |a| 
        a.body = generate_your_pdf_here()  
    end   
  end
end&lt;/code&gt;
&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-07-06T11:09:11+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: 
</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>attachment fix</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-07-06T11:09:13+01:00</updated-at>
      <user-id type="integer">61674</user-id>
      <user-name>aegas</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>erm yes, i messed the parts! the plain should shhow the plain, html the html-part.
however, should be fixed ;)</body>
      <body-html>&lt;div&gt;&lt;p&gt;erm yes, i messed the parts! the plain should shhow the plain,
html the html-part.&lt;br&gt;
however, should be fixed ;)&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-07-06T11:10:34+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>attachment fix</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-07-06T11:10:46+01:00</updated-at>
      <user-id type="integer">61674</user-id>
      <user-name>aegas</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Just noticed an error in the 5.2 Action Mailer Configuration for GMail section. The link that the instructions were copied from contains a double http:// in the url. It also doesn't look like the url for the action_mailer_tls plugin is working, but could just be a temporary issue.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Just noticed an error in the 5.2 Action Mailer Configuration for
GMail section. The link that the instructions were copied from
contains a double http:// in the url. It also doesn't look like the
url for the action_mailer_tls plugin is working, but could just be
a temporary issue.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-07-08T22:14:44+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>attachment fix</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-07-08T22:14:50+01:00</updated-at>
      <user-id type="integer">62242</user-id>
      <user-name>Kyle Mathews</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Thank you, fixed in http://github.com/lifo/docrails/commit/af29eeeafd7c1c2b799525e51980407978e3c338</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thank you, fixed in &lt;a href=
&quot;http://github.com/lifo/docrails/commit/af29eeeafd7c1c2b799525e51980407978e3c338&quot;&gt;
http://github.com/lifo/docrails/commit/af29eeeafd7c1c2b799525e51980...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-07-08T22:27:32+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>attachment fix</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-07-08T22:27:36+01:00</updated-at>
      <user-id type="integer">11378</user-id>
      <user-name>Xavier Noria</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>small comment, in paragraph:
2.1.4 Wire It Up So That the System Sends the Email When a User Signs Up

we find this text:
There are three ways to achieve this. One is to send the email from the controller that sends the email, another is to put it in a before_create callback in the user model

Putting it in a before_create isn't a good recommendation, since create may fail for one reason or another. So maybe after_create would be better.

The following code example for an observer is getting it right:
def after_create(user)  
  UserMailer.deliver_welcome_email(user)  
end

(I'm a bit new here, so sorry if that's not the right place for such small issues)</body>
      <body-html>&lt;div&gt;&lt;p&gt;small comment, in paragraph:&lt;br&gt;
2.1.4 Wire It Up So That the System Sends the Email When a User
Signs Up&lt;/p&gt;
&lt;p&gt;we find this text:&lt;br&gt;
There are three ways to achieve this. One is to send the email from
the controller that sends the email, another is to put it in a
before_create callback in the user model&lt;/p&gt;
&lt;p&gt;Putting it in a before_create isn't a good recommendation, since
create may fail for one reason or another. So maybe after_create
would be better.&lt;/p&gt;
&lt;p&gt;The following code example for an observer is getting it
right:&lt;br&gt;
def after_create(user)&lt;br&gt;
UserMailer.deliver_welcome_email(user)&lt;br&gt;
end&lt;/p&gt;
&lt;p&gt;(I'm a bit new here, so sorry if that's not the right place for
such small issues)&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-08-01T14:10:30+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>attachment fix</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-08-01T14:10:34+01:00</updated-at>
      <user-id type="integer">64760</user-id>
      <user-name>Thorsten M&#252;ller</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I think 5.3 is no longer needed

5.3 Configure Action Mailer to Recognize HAML Templates

was getting error when starting the server until I found this

http://blog.leshill.org/blog/2008/10/19/tip-using-haml-with-actionmailer.html</body>
      <body-html>&lt;div&gt;&lt;p&gt;I think 5.3 is no longer needed&lt;/p&gt;
&lt;p&gt;5.3 Configure Action Mailer to Recognize HAML Templates&lt;/p&gt;
&lt;p&gt;was getting error when starting the server until I found
this&lt;/p&gt;
&lt;p&gt;&lt;a href=
&quot;http://blog.leshill.org/blog/2008/10/19/tip-using-haml-with-actionmailer.html&quot;&gt;
http://blog.leshill.org/blog/2008/10/19/tip-using-haml-with-actionm...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-08-07T03:42:58+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>attachment fix</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-08-07T03:43:01+01:00</updated-at>
      <user-id type="integer">28451</user-id>
      <user-name>Noel Gomez</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Section 5.2 can be simplified 

ActionMailer::Base.smtp_settings = {
  :enable_starttls_auto =&gt; true,
  :address        =&gt; &quot;smtp.gmail.com&quot;,
  :port           =&gt; 587,
  :domain         =&gt; &quot;domain.com&quot;,
  :user_name      =&gt; &quot;user@domain.com&quot;,
  :password       =&gt; &quot;password&quot;,
  :authentication =&gt; :plain
}

No plugin / gem needed</body>
      <body-html>&lt;div&gt;&lt;p&gt;Section 5.2 can be simplified&lt;/p&gt;
&lt;p&gt;ActionMailer::Base.smtp_settings = {&lt;br&gt;
:enable_starttls_auto =&amp;gt; true, :address =&amp;gt; &quot;smtp.gmail.com&quot;,
:port =&amp;gt; 587, :domain =&amp;gt; &quot;domain.com&quot;, :user_name =&amp;gt;
&quot;&lt;a href=&quot;mailto:user@domain.com&quot;&gt;user@domain.com&lt;/a&gt;&quot;, :password
=&amp;gt; &quot;password&quot;, :authentication =&amp;gt; :plain }&lt;/p&gt;
&lt;p&gt;No plugin / gem needed&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-08-07T05:42:10+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>attachment fix</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-08-07T05:42:15+01:00</updated-at>
      <user-id type="integer">28451</user-id>
      <user-name>Noel Gomez</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>@Noel: That only works for Ruby &gt;= 1.8.7, I believe.  For 1.8.6 and earlier, you still need the plugin.

Can you confirm that you have Ruby 1.8.7 or higher?  If you have 1.8.6 and it's working for you without the plugin, that would also be good to know.</body>
      <body-html>&lt;div&gt;&lt;p&gt;@Noel: That only works for Ruby &amp;gt;= 1.8.7, I believe. For
1.8.6 and earlier, you still need the plugin.&lt;/p&gt;
&lt;p&gt;Can you confirm that you have Ruby 1.8.7 or higher? If you have
1.8.6 and it's working for you without the plugin, that would also
be good to know.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-08-07T05:50:57+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>attachment fix</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-08-07T05:51:03+01:00</updated-at>
      <user-id type="integer">17710</user-id>
      <user-name>Jeff Cohen</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Yes, you do need 1.8.7 as stated in the Rails API</body>
      <body-html>&lt;div&gt;&lt;p&gt;Yes, you do need 1.8.7 as stated in the Rails API&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-08-07T06:29:56+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>attachment fix</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-08-07T06:30:01+01:00</updated-at>
      <user-id type="integer">28451</user-id>
      <user-name>Noel Gomez</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Section: 6 Mailer Testing

The line: assert_equal [@user.email], email.to
should read: assert_equal [user.email], email.to
(@user -&gt; user)</body>
      <body-html>&lt;div&gt;&lt;p&gt;Section: 6 Mailer Testing&lt;/p&gt;
&lt;p&gt;The line: assert_equal [@user.email], email.to&lt;br&gt;
should read: assert_equal [user.email], email.to&lt;br&gt;
(@user -&amp;gt; user)&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-09-15T18:34:37+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: attachment fix
</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>correction</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-09-15T18:34:44+01:00</updated-at>
      <user-id type="integer">69814</user-id>
      <user-name>Robert</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Thanks Robert, fixed in http://github.com/lifo/docrails/commit/b4e11dfdac85bb089f256499cc3ffb6ec7672f8a</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks Robert, fixed in &lt;a href=
&quot;http://github.com/lifo/docrails/commit/b4e11dfdac85bb089f256499cc3ffb6ec7672f8a&quot;&gt;
http://github.com/lifo/docrails/commit/b4e11dfdac85bb089f256499cc3f...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-09-15T23:12:37+01:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>correction</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-09-15T23:12:41+01:00</updated-at>
      <user-id type="integer">11378</user-id>
      <user-name>Xavier Noria</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Section 5.3: ActionMailer configuration for haml no longer needed (if haml &gt; 2.0.5)</body>
      <body-html>&lt;div&gt;&lt;p&gt;Section 5.3: ActionMailer configuration for haml no longer
needed (if haml &amp;gt; 2.0.5)&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-11-19T20:18:29+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>correction</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-11-19T20:18:33+00:00</updated-at>
      <user-id type="integer">40656</user-id>
      <user-name>InsaneDreamer</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Section 2.1.2:

    body          {:user =&gt; user, :url =&gt; &quot;http://example.com/login&quot;}

gives an error: syntax error, unexpected tASSOC, expecting tCOLON2 or '[' or '.'

I believe body wraps the hash in {} already. The following works:

    body          :user =&gt; user, :url =&gt; &quot;http://example.com/login&quot;</body>
      <body-html>&lt;div&gt;&lt;p&gt;Section 2.1.2:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;body          {:user =&amp;gt; user, :url =&amp;gt; &quot;http://example.com/login&quot;}&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;gives an error: syntax error, unexpected tASSOC, expecting
tCOLON2 or '[' or '.'&lt;/p&gt;
&lt;p&gt;I believe body wraps the hash in {} already. The following
works:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;body          :user =&amp;gt; user, :url =&amp;gt; &quot;http://example.com/login&quot;&lt;/code&gt;
&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-11-20T17:21:02+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>correction</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-11-20T17:21:06+00:00</updated-at>
      <user-id type="integer">40656</user-id>
      <user-name>InsaneDreamer</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>@InsaneDreamer's note above, originally reported by @JakePaul several months ago, still appears in the published docs. I just helped a friend debug this, as he was following the example in the doc and got the noted error.  Can we get a fix for this published out, please?</body>
      <body-html>&lt;div&gt;&lt;p&gt;@InsaneDreamer's note above, originally reported by @JakePaul
several months ago, still appears in the published docs. I just
helped a friend debug this, as he was following the example in the
doc and got the noted error. Can we get a fix for this published
out, please?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-12-07T00:14:00+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>correction</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-12-07T00:14:04+00:00</updated-at>
      <user-id type="integer">12762</user-id>
      <user-name>Gabe</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>@Gabe that was fixed in the repo (http://guides.rails.info/action_mailer_basics.html). The guides in rubyonrails.org are updated when a new release comes out.</body>
      <body-html>&lt;div&gt;&lt;p&gt;@Gabe that was fixed in the repo (&lt;a href=
&quot;http://guides.rails.info/action_mailer_basics.html)&quot;&gt;http://guides.rails.info/action_mailer_basics.html)&lt;/a&gt;.
The guides in rubyonrails.org are updated when a new release comes
out.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-12-07T06:55:20+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>correction</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2009-12-07T06:55:22+00:00</updated-at>
      <user-id type="integer">11378</user-id>
      <user-name>Xavier Noria</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15159</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I'll be updating this guide as part of the new ActionMailer API and Mail gem integration with Rails 3.0</body>
      <body-html>&lt;div&gt;&lt;p&gt;I'll be updating this guide as part of the new ActionMailer API
and Mail gem integration with Rails 3.0&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2010-01-22T03:41:36+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 1366
</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>correction</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2010-01-22T03:41:40+00:00</updated-at>
      <user-id type="integer">15159</user-id>
      <user-name>Mikel Lindsaar</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mikel Lindsaar</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15159</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>In **2.1.1 Create the Mailer**, command is written like below:

@@@
./script/generate mailer UserMailer
@@@

It should be like

@@@
rails generate mailer UserMailer
@@@ 

or 

@@@
rails g mailer UserMailer
@@@</body>
      <body-html>&lt;div&gt;&lt;p&gt;In &lt;strong&gt;2.1.1 Create the Mailer&lt;/strong&gt;, command is written
like below:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;./script/generate mailer UserMailer&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;It should be like&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;rails generate mailer UserMailer&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;rails g mailer UserMailer&lt;/code&gt;
&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2010-02-06T13:56:19+00:00</created-at>
      <creator-id type="integer">1366</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">34116</milestone-id>
      <number type="integer">25</number>
      <permalink>action-mailer-basics</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">16213</project-id>
      <state>taken</state>
      <tag>correction</tag>
      <title>Action Mailer Basics</title>
      <updated-at type="datetime">2010-02-06T13:56:22+00:00</updated-at>
      <user-id type="integer">57114</user-id>
      <user-name>pulkit pancholi</user-name>
      <creator-name>Pratik</creator-name>
      <assigned-user-name>Mikel Lindsaar</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/16213/tickets/25</url>
      <milestone-title>Guides Batch 3</milestone-title>
    </version>
  </versions>
</ticket>
