# How to setup name in Mailer?

**URL:** <https://www.ruby-forum.com/t/how-to-setup-name-in-mailer/125886>\
**Category:** Rails\
**Created:** [January 13, 2008, 12:25pm UTC](https://www.ruby-forum.com/t/how-to-setup-name-in-mailer/125886 "2008-01-13T12:25:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vapor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5e9695/32.png) [@vapor](https://www.ruby-forum.com/u/vapor)\
**Post date:** [January 13, 2008, 12:25pm UTC](https://www.ruby-forum.com/t/how-to-setup-name-in-mailer/125886/1 "2008-01-13T12:25:37Z")

</div>

I use from ‘removed\_email\_address@domain.invalid’ and when it arrives in targeted inbox, it  
shows from ‘removed\_email\_address@domain.invalid’. I want to show from ‘This That’… like name  
of the sender. How to do that?

---

<div class="post-metadata">

**Author:** ![vapor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5e9695/32.png) [@vapor](https://www.ruby-forum.com/u/vapor)\
**Post date:** [January 13, 2008, 1:38pm UTC](https://www.ruby-forum.com/t/how-to-setup-name-in-mailer/125886/2 "2008-01-13T13:38:47Z")

</div>

On 13 Jan 2008, at 11:25, Vapor … wrote:

> I use from ‘removed\_email\_address@domain.invalid’ and when it arrives in targeted inbox, it  
> shows from ‘removed\_email\_address@domain.invalid’. I want to show from ‘This That’… like  
> name  
> of the sender. How to do that?

IIRC, set the from to This that [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

Fre

---

<div class="post-metadata">

**Author:** ![vapor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5e9695/32.png) [@vapor](https://www.ruby-forum.com/u/vapor)\
**Post date:** [January 14, 2008, 12:59am UTC](https://www.ruby-forum.com/t/how-to-setup-name-in-mailer/125886/3 "2008-01-14T00:59:53Z")

</div>

On Jan 13, 2008 11:37 PM, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> On 13 Jan 2008, at 11:25, Vapor … wrote:
> 
> > of the sender. How to do that?  
> > IIRC, set the from to This that [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

That would work, but it is better fro TMail (the email handling that  
lives inside actionmailer) if you quote the description - it is also  
per RFC 2022.

So, use “This That” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

That way, also, you can put basically whatever you want in the “” part.

Mikel
