class Mail::Message

def to( val = nil )

mail.to #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net']
mail.to << 'ada@test.lindsaar.net'
mail.to 'Mikel '

Example:

object.
Additionally, you can append new addresses to the returned Array like

mail.to #=> ['mikel@test.lindsaar.net']
mail.to 'Mikel '

Example:

Also allows you to set the value by passing a value as a parameter

mail.to #=> ['mikel@test.lindsaar.net', 'ada@test.lindsaar.net']
mail.to = 'Mikel , ada@test.lindsaar.net'
mail.to #=> ['mikel@test.lindsaar.net']
mail.to = 'Mikel '

Example:

address specs.
Returns the To value of the mail object as an array of strings of
def to( val = nil )
  default :to, val
end