from_email: the email part of the From: line, or nil if empty
Return value:
A string (multi-line ok) containing the text of the signature, or nil to
from_email: the email part of the From: line, or nil if empty
Return value:
A string (multi-line ok) containing the text of the signature, or nil to
## there are attachments, so wrap body in an attachment of its own
unless @attachments.empty?
## there are attachments, so wrap body in an attachment of its own
unless @attachments.empty?
## do whatever crypto transformation is necessary
if @crypto_selector && @crypto_selector.val != :none
from_email = PersonManager.person_for(@header["From"]).email
## do whatever crypto transformation is necessary
if @crypto_selector && @crypto_selector.val != :none
from_email = PersonManager.person_for(@header["From"]).email
m = CryptoManager.send @crypto_selector.val, from_email, to_email, m
end
m = CryptoManager.send @crypto_selector.val, from_email, to_email, m
end
text = contacts.map { |s| s.longname }.join(", ")
@header[field] = parse_header field, text
update
text = contacts.map { |s| s.longname }.join(", ")
@header[field] = parse_header field, text
update
return ["", "-- "] + hook_sig.split("\n") if hook_sig
## no hook, do default signature generation based on config.yaml
return ["", "-- "] + hook_sig.split("\n") if hook_sig
## no hook, do default signature generation based on config.yaml