Class: MailHandler (<Toplevel Module>)

Overview
Module Structure
Class Hierarchy
Constants
MailHandler::MESSAGE_ID_RE
MailHandler::ISSUE_REPLY_SUBJECT_RE
MailHandler::MESSAGE_REPLY_SUBJECT_RE
Class Methods
MailHandler.receive (1/2) / 2
MailHandler.full_sanitizer
MailHandler.assign_string_attribute_with_limit / 4
MailHandler.new_user_from_attributes / 2
Instance Attributes
MailHandler#email [R]
MailHandler#user [R]
Instance Methods
MailHandler#receive (2/E) / 1
MailHandler#dispatch
MailHandler#dispatch_to_default
MailHandler#receive_issue
MailHandler#receive_issue_reply / 1
MailHandler#receive_journal_reply / 1
MailHandler#receive_message_reply / 1
MailHandler#add_attachments / 1
MailHandler#add_watchers / 1
MailHandler#get_keyword / 2
MailHandler#extract_keyword! / 3
MailHandler#target_project
MailHandler#issue_attributes_from_keywords / 1
MailHandler#custom_field_values_from_keywords / 1
MailHandler#plain_text_body
MailHandler#cleaned_up_text_body
MailHandler#create_user_from_email
MailHandler#cleanup_body / 1
MailHandler#find_assignee_from_keyword / 2
is a submodule of
module: <Toplevel Module>   
is modularized into
class: UnauthorizedAction   
class: MissingInformation   
includes
  SanitizeHelper ( ActionView::Helpers )
  I18n ( Redmine )
inherits from
  Base ( ActionMailer )
has properties
attribute: email [R]   
attribute: user [R]   
class method: receive (1/2) / 2   
method: receive (2/E) / 1   
constant: MESSAGE_ID_RE   
constant: ISSUE_REPLY_SUBJECT_RE   
constant: MESSAGE_REPLY_SUBJECT_RE   
method: dispatch   
method: dispatch_to_default   
method: receive_issue   
method: receive_issue_reply / 1   
method: receive_journal_reply / 1   
method: receive_message_reply / 1   
method: add_attachments / 1   
method: add_watchers / 1   
method: get_keyword / 2   
method: extract_keyword! / 3   
method: target_project   
method: issue_attributes_from_keywords / 1   
method: custom_field_values_from_keywords / 1   
method: plain_text_body   
method: cleaned_up_text_body   
class method: full_sanitizer   
class method: assign_string_attribute_with_limit / 4   
class method: new_user_from_attributes / 2   
method: create_user_from_email   
method: cleanup_body / 1   
method: find_assignee_from_keyword / 2   
is defined at
#18 in app/models/mail_handler.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: ActionView
  module: Helpers
module: SanitizeHelper     
  module: ActionMailer
class: Base     
✗ class: MailHandler
class: UnauthorizedAction     
class: MissingInformation     
  module: Redmine
module: I18n     

Class Hierarchy

Object ( Builtin-Module )
Exception ( Builtin-Module )
Base ( ActionMailer )
MailHandler
includes
  SanitizeHelper ( ActionView::Helpers )
  I18n ( Redmine )
has properties
attribute: email [R]   
attribute: user [R]   
class method: receive (1/2) / 2   
method: receive (2/E) / 1   
constant: MESSAGE_ID_RE   
constant: ISSUE_REPLY_SUBJECT_RE   
constant: MESSAGE_REPLY_SUBJECT_RE   
method: dispatch   
method: dispatch_to_default   
method: receive_issue   
method: receive_issue_reply / 1   
method: receive_journal_reply / 1   
method: receive_message_reply / 1   
method: add_attachments / 1   
method: add_watchers / 1   
method: get_keyword / 2   
method: extract_keyword! / 3   
method: target_project   
method: issue_attributes_from_keywords / 1   
method: custom_field_values_from_keywords / 1   
method: plain_text_body   
method: cleaned_up_text_body   
class method: full_sanitizer   
class method: assign_string_attribute_with_limit / 4   
class method: new_user_from_attributes / 2   
method: create_user_from_email   
method: cleanup_body / 1   
method: find_assignee_from_keyword / 2   

Constants

MailHandler::MESSAGE_ID_RE

#112 in app/models/mail_handler.rb

MESSAGE_ID_RE = %r{^<redmine\.([a-z0-9_]+)\-(\d+)\.\d+@}   

MailHandler::ISSUE_REPLY_SUBJECT_RE

#113 in app/models/mail_handler.rb

ISSUE_REPLY_SUBJECT_RE = %r{\[[^\]]*#(\d+)\]}   

MailHandler::MESSAGE_REPLY_SUBJECT_RE

#114 in app/models/mail_handler.rb

MESSAGE_REPLY_SUBJECT_RE = %r{\[[^\]]*msg(\d+)\]}   

Class Methods

MailHandler.receive (1/2) / 2

#27 in app/models/mail_handler.rb

receive ( email ,
  options={} )

MailHandler.full_sanitizer

#362 in app/models/mail_handler.rb

full_sanitizer

MailHandler.assign_string_attribute_with_limit / 4

#366 in app/models/mail_handler.rb

assign_string_attribute_with_limit ( object ,
  attribute ,
  value ,
  limit=nil )

MailHandler.new_user_from_attributes / 2

#373 in app/models/mail_handler.rb

new_user_from_attributes ( email_address ,
  fullname=nil )

Instance Attributes

MailHandler#email [R]

#25 in app/models/mail_handler.rb

MailHandler#user [R]

#25 in app/models/mail_handler.rb

Instance Methods

MailHandler#receive (2/E) / 1

#53 in app/models/mail_handler.rb

receive ( email )

MailHandler#dispatch

#116 in app/models/mail_handler.rb

dispatch

MailHandler#dispatch_to_default

#145 in app/models/mail_handler.rb

dispatch_to_default

MailHandler#receive_issue

#150 in app/models/mail_handler.rb

receive_issue

MailHandler#receive_issue_reply / 1

#175 in app/models/mail_handler.rb

receive_issue_reply ( issue_id )

MailHandler#receive_journal_reply / 1

#202 in app/models/mail_handler.rb

receive_journal_reply ( journal_id )

MailHandler#receive_message_reply / 1

#210 in app/models/mail_handler.rb

receive_message_reply ( message_id )

MailHandler#add_attachments / 1

#235 in app/models/mail_handler.rb

add_attachments ( obj )

MailHandler#add_watchers / 1

#248 in app/models/mail_handler.rb

add_watchers ( obj )

MailHandler#get_keyword / 2

#258 in app/models/mail_handler.rb

get_keyword ( attr ,
  options={} )

MailHandler#extract_keyword! / 3

#276 in app/models/mail_handler.rb

extract_keyword! ( text ,
  attr ,
  format=nil )

MailHandler#target_project

#293 in app/models/mail_handler.rb

target_project

MailHandler#issue_attributes_from_keywords / 1

#303 in app/models/mail_handler.rb

issue_attributes_from_keywords ( issue )

MailHandler#custom_field_values_from_keywords / 1

#328 in app/models/mail_handler.rb

custom_field_values_from_keywords ( customized )

MailHandler#plain_text_body

#339 in app/models/mail_handler.rb

plain_text_body

MailHandler#cleaned_up_text_body

#358 in app/models/mail_handler.rb

cleaned_up_text_body

MailHandler#create_user_from_email

#400 in app/models/mail_handler.rb

create_user_from_email

MailHandler#cleanup_body / 1

#417 in app/models/mail_handler.rb

cleanup_body ( body )

MailHandler#find_assignee_from_keyword / 2

#426 in app/models/mail_handler.rb

find_assignee_from_keyword ( keyword ,
  issue )