# Setting the Return-Path in TMail?

**URL:** <https://www.ruby-forum.com/t/setting-the-return-path-in-tmail/56514>\
**Category:** Ruby\
**Created:** [March 31, 2006, 8:34pm UTC](https://www.ruby-forum.com/t/setting-the-return-path-in-tmail/56514 "2006-03-31T20:34:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbraford](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@sbraford](https://www.ruby-forum.com/u/sbraford)\
**Post date:** [March 31, 2006, 8:34pm UTC](https://www.ruby-forum.com/t/setting-the-return-path-in-tmail/56514/1 "2006-03-31T20:34:01Z")

</div>

Hello,

I was wondering if it’s possible to set the return-path in TMail?

I didn’t see any way on here on how to do that:  
[http://www.railsmanual.org/class/TMail::Mail](http://www.railsmanual.org/class/TMail::Mail)

Here’s a theoretical scenario:

- You offer a hosted mail service, which allows people to use their own  
POP accounts etc.

- When your clients send mail, the return-path should be back to your  
client’s mail server. (since you’re just pop’ing in and receiving it  
that way)

I know there must be lots of spam-related issues regarding the  
return-path and setting all the headers properly. Is that why it can’t  
be set by default?

- Shanti
