<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Avoid Emailing Bounced Addresses</title>
	<atom:link href="http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/feed/" rel="self" type="application/rss+xml" />
	<link>http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/</link>
	<description>Programming Wisdom for Mac OS X and Ruby on Rails Developers</description>
	<lastBuildDate>Sun, 21 Aug 2011 22:45:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Ryan</title>
		<link>http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/comment-page-1/#comment-2424</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sun, 24 Oct 2010 06:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/#comment-2424</guid>
		<description>Ugh...that should be &quot;require_dependency email_gatekeeper&quot; without the .rb.

I&#039;m up late...</description>
		<content:encoded><![CDATA[<p>Ugh&#8230;that should be &#8220;require_dependency email_gatekeeper&#8221; without the .rb.</p>
<p>I&#8217;m up late&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/comment-page-1/#comment-2423</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sun, 24 Oct 2010 06:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/#comment-2423</guid>
		<description>Actually, no...I am a crazy person. The code in this post wasn&#039;t working for me until I discovered that:

a) I needed to use perform_delivery_smtp and
b) if you create this file in your lib directory, you&#039;ll probably need to add &quot;require_dependency email_gatekeeper.rb&quot; to the bottom of your environment.rb file.</description>
		<content:encoded><![CDATA[<p>Actually, no&#8230;I am a crazy person. The code in this post wasn&#8217;t working for me until I discovered that:</p>
<p>a) I needed to use perform_delivery_smtp and<br />
b) if you create this file in your lib directory, you&#8217;ll probably need to add &#8220;require_dependency email_gatekeeper.rb&#8221; to the bottom of your environment.rb file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/comment-page-1/#comment-2420</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sun, 24 Oct 2010 03:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/#comment-2420</guid>
		<description>Hey Bala, I had the same problem too, and after looking at the rails documentation, I discovered that :perform_delivery_sendmail doesn&#039;t exist anymore.

I&#039;m using rails 2.3, and I had to change it to:
alias_method_chain :delivery!, :gatekeeper

Then rename the method above as:
def deliver_with_gatekeeper!(mail = @mail)

Then at the end of the method, you&#039;ll need to change it to this:
deliver_without_gatekeeper!(mail)

Basically, you&#039;re just changing it to use deliver! instead of perform_delivery_sendmail.

If you&#039;re using Rails 3.0, it&#039;s possible that they&#039;ve changed it to something else, so, just look in the ActionMailer documentation in the Rails docs for whatever looks to be the last stop before sending the email.</description>
		<content:encoded><![CDATA[<p>Hey Bala, I had the same problem too, and after looking at the rails documentation, I discovered that :perform_delivery_sendmail doesn&#8217;t exist anymore.</p>
<p>I&#8217;m using rails 2.3, and I had to change it to:<br />
alias_method_chain :delivery!, :gatekeeper</p>
<p>Then rename the method above as:<br />
def deliver_with_gatekeeper!(mail = @mail)</p>
<p>Then at the end of the method, you&#8217;ll need to change it to this:<br />
deliver_without_gatekeeper!(mail)</p>
<p>Basically, you&#8217;re just changing it to use deliver! instead of perform_delivery_sendmail.</p>
<p>If you&#8217;re using Rails 3.0, it&#8217;s possible that they&#8217;ve changed it to something else, so, just look in the ActionMailer documentation in the Rails docs for whatever looks to be the last stop before sending the email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bala</title>
		<link>http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/comment-page-1/#comment-1608</link>
		<dc:creator>Bala</dc:creator>
		<pubDate>Tue, 03 Aug 2010 14:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://keakaj.com/wisdom/2007/09/12/avoid-emailing-bounced-addresses/#comment-1608</guid>
		<description>Hi,

I have created alias for perform_delivery_smtp and i have created gatekeeper method.

but its not working. how do we make it work. i feel that control itself not coming to gatekeeper method.because i am debugging gatekeeper method. not able to find any debugging statement.

Thanks &amp; Regards,
Bala.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have created alias for perform_delivery_smtp and i have created gatekeeper method.</p>
<p>but its not working. how do we make it work. i feel that control itself not coming to gatekeeper method.because i am debugging gatekeeper method. not able to find any debugging statement.</p>
<p>Thanks &amp; Regards,<br />
Bala.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.156 seconds -->

