Revision cdab9091
Added by Marc Dequènes over 10 years ago
lib/cyborghood/mail.rb | ||
---|---|---|
end
|
||
end
|
||
|
||
def self.blank
|
||
m = self.new
|
||
m.clear
|
||
m
|
||
end
|
||
|
||
def self.read(path)
|
||
self.new(::Mail.read(path))
|
||
end
|
||
... | ... | |
|
||
def create_simple_reject_reply(msg)
|
||
mail_reply = reply()
|
||
mail_reply.charset = "utf-8"
|
||
mail_reply.content_type = 'text/plain; charset="UTF-8"'
|
||
mail_reply.body = msg + self.default_body_signature
|
||
mail_reply.sign
|
||
mail_reply.crypt(mail_reply.user.keyFingerPrint) unless mail_reply.user.nil?
|
Also available in: Unified diff
[evol] more TMail->Mail adaptations for main processing