Skip to content
Browse files

need to load ar_mailer in ar_sendmail removing TableName option and u…

…sing email_class *sorry*
  • Loading branch information...
1 parent 1499756 commit df08b88f0949be7549d04246f727dc4476d123e7 @adzap committed Jun 30, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/action_mailer/ar_sendmail.rb
View
6 lib/action_mailer/ar_sendmail.rb
@@ -2,6 +2,8 @@
require 'net/smtp'
require 'smtp_tls' unless Net::SMTP.instance_methods.include?("enable_starttls_auto")
require 'rubygems'
+require 'action_mailer'
+require 'action_mailer/ar_mailer'
##
# Hack in RSET
@@ -21,8 +23,6 @@ def reset
end
end
-module ActionMailer; end # :nodoc:
-
##
# ActionMailer::ARSendmail delivers email from the email table to the
# SMTP server configured in your application's config/environment.rb.
@@ -43,7 +43,7 @@ class ActionMailer::ARSendmail
##
# The version of ActionMailer::ARSendmail you are running.
- VERSION = '2.1.1'
+ VERSION = '2.1.2'
##
# Maximum number of times authentication will be consecutively retried

0 comments on commit df08b88

Please sign in to comment.
Something went wrong with that request. Please try again.