--- app/models/mail_handler.rb.org 2014-03-26 22:51:45.499726487 +0100 +++ app/models/mail_handler.rb 2014-03-26 23:13:53.366105100 +0100 @@ -177,6 +177,11 @@ issue.subject = '(no subject)' end issue.description = cleaned_up_text_body + # copy the sender email address to the ticket if option copy_sender_to_ticket is enabled + unless @@handler_options[:copy_sender_to_ticket] + sender_addr = email.from.to_a.first.to_s.strip + issue.description = "Reported by e-mail by [#{sender_addr}]:\n" + issue.description; + end # add To and Cc as watchers before saving so the watchers can reply to Redmine add_watchers(issue)