class Mail::Message

def sender=( val )

mail.sender #=> 'mikel@test.lindsaar.net'
mail.sender = 'Mikel '

Example:

Sets the Sender value of the mail object, pass in a string of the field
def sender=( val )
  header[:sender] = val
end