Forum: Ruby Setting the Return-Path in TMail?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Shanti B. (Guest)
on 2006-03-31 22:34
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

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
This topic is locked and can not be replied to.