Send a email with from like this "mysitename <[email protected]>"

hi,

i am using rails to send emails, i want to each email’s ‘from’ address
has a name of mysite, e.g. “mysitename [email protected]”, but it
doesn’t work when set from value like this, in gmail mailbox only
[email protected] can be display, anyone know how to do this?

thanks a lot.