Benjamin Neff
e82690963d
Add # frozen_string_literal: true to all files
2017-09-17 19:29:15 +02:00
Jonne Haß
e70e48d6ca
some refactoring regarding the law of demeter
2012-09-23 19:33:19 +02:00
MrZYX
1ab9520b36
generate recipient header with Mail::Address to properly handle non-ASCII characters
2012-01-21 19:16:09 +01:00
Dan Hansen
f6845c360f
Revert "change namespace from Mail to Mailers"
...
This reverts commit f859904c76 .
2011-10-09 23:34:03 -05:00
Dan Hansen
f859904c76
change namespace from Mail to Mailers
...
locally when Resque tried to constantize Jobs::Mail Object.const_get("Jobs") returned our Jobs module but when it tried to const_get("Mail") it returned the Mail gem.
added copyright
2011-10-09 22:41:01 -05:00
Dan Hansen
814eb7b426
RFC2822 specifies that you use parentheses to denote a mailbox list. Use the addr-name spec to specify a display name and the from address.
...
Check against the raw headers of the mail as @mail.from excludes the display name
Extract shared logic between notifier methods
2011-10-09 22:19:50 -05:00
Maxwell Salzberg
75aa3f8f97
include people names in the from field
2011-10-05 17:12:31 -07:00
Dan Hansen
8c15ca2a4b
PMs and comments contain author name in "From" header
...
refactor notifier
2011-10-04 23:48:28 -05:00