class Mail::Message

def set_envelope(val)

Sets the envelope from for the email
def set_envelope(val)
  @raw_envelope = val
  @envelope = Mail::Envelope.parse(val) rescue nil
end