Revision 275e20ec
Added by Marc Dequènes almost 16 years ago
- ID 275e20ecd94d3a83477dbec7e39e75ee6f619fee
postman | ||
---|---|---|
end
|
||
|
||
mail = Mail.new(msg)
|
||
logger.info "Mail #{mail.message_id}: #{mail.from_addrs} -> #{mail.to_addrs} (#{mail.subject})"
|
||
logger.info "Received mail with ID '#{mail.message_id}': #{mail.from_addrs} -> #{mail.to_addrs} (#{mail.subject})"
|
||
|
||
# ignore mails not signed
|
||
unless mail.is_pgp_signed?
|
||
... | ... | |
end
|
||
|
||
CommandParser.run(order)
|
||
|
||
mail_reply = mail.create_reply
|
||
mail_reply.body = "COUCOU"
|
||
mail_reply.deliver
|
||
end
|
||
end
|
||
|
Also available in: Unified diff
[evol] create basic mail reply and send it using SMTP