lib/fat_free_crm/mail_processor/dropbox.rb
# Checks the email to detect valid email address in body (first email), detect forwarded emails
#----------------------------------------------------------------------------------------
Checks the email to detect valid email address in body (first email), detect forwarded emails
Checks the email to detect valid email address in body ( first email ) detect forwarded emails
def with_forwarded_recipient(email, options = {})
        if plain_text_body(email) =~ /\b([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4})\b/
          yield $1
        end
      end
def with_forwarded_recipient ( email , options = { } ) if plain_text_body ( email ) =~ / \b ([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+ \. [a-zA-Z]{2,4}) \b / yield $1 end end
Checks the email to detect valid email address in body (first email), detect forwarded emails
Checks the email to detect valid email address in body ( first email ) detect forwarded emails
email
<not_specific>
options
<not_specific>