class Mail::Message

def destinations

mail.destinations.first #=> 'mikel@test.lindsaar.net'
mail.destinations.length #=> 3
mail.bcc = 'bob@test.lindsaar.net'
mail.cc = 'sam@test.lindsaar.net'
mail.to = 'mikel@test.lindsaar.net'

Example:

collecting the addresses off the to, cc and bcc fields.
Returns the list of addresses this message should be sent to by
def destinations
  [to_addrs, cc_addrs, bcc_addrs].compact.flatten
end