Project

General

Profile

« Previous | Next » 

Revision f1ca78f5

Added by Marc Dequènes over 14 years ago

  • ID f1ca78f5fba9ae6e6fc9eb0a759ac6f3d0ccd511

[fix/evol] added new Mail helper methods for headers and use them to display received mail info properly

View differences:

bin/postman
end
mail = Mail.new(msg.content)
logger.info "Received mail with ID '#{mail.message_id}': #{mail.from_addrs} -> #{mail.to_addrs} (#{mail.subject})"
logger.info "Received mail with ID '#{mail.message_id}': #{mail.from_pretty} -> #{mail.to_pretty} (#{mail.subject_pretty})"
# ignore mails not signed or encrypted
unless mail.is_pgp_signed? or mail.is_pgp_encrypted?

Also available in: Unified diff