ynw-ar_mailer 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +9 -0
- data/README.rdoc +1 -1
- data/lib/action_mailer/ar_sendmail.rb +2 -0
- metadata +1 -1
data/History.txt
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
= 1.0.0 (ynw-ar_sendmail)
|
2
|
+
|
3
|
+
* ARMailer messages don't get send until they are combined into digests
|
4
|
+
* all messages to same addressee are combined into one digest email
|
5
|
+
* it only supports text/plain messages
|
6
|
+
* if the digest mail is too big it gets truncated, and full digest is dumped to a file on server; truncated digest will tell about it
|
7
|
+
* the sending itself can be triggered by method call, so now you have options to use ar_sendmail process or smth else, e.g. BackgrounDRB job
|
8
|
+
* you can specify :smtp_settings to be used when sending digests: we needed it to be other than default ActionMailer::Base.smtp_settings
|
9
|
+
|
1
10
|
= 2.1.5
|
2
11
|
|
3
12
|
* Bugs fixed
|
data/README.rdoc
CHANGED
@@ -553,6 +553,8 @@ class ActionMailer::ARSendmail
|
|
553
553
|
body = ("WARNING: not all the messages made it into this digest - some are lost in truncation. " +
|
554
554
|
"Original number of messages - #{mails.size} (here only #{new_num}); original size - #{old_size} " +
|
555
555
|
"(here only #{body.size}). Full dump of original emails is placed in #{email_dump_path} @#{`hostname`.strip}.\n\n") + body
|
556
|
+
else
|
557
|
+
body = "This digest has #{mails.size} messages for you:\n\n" + body
|
556
558
|
end
|
557
559
|
new.body = body
|
558
560
|
email = email_class.create!(:from => email.from, :to => to, :mail => new.to_s, :ready => true)
|