LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mail command option to set reply different email address than author (https://www.linuxquestions.org/questions/linux-newbie-8/mail-command-option-to-set-reply-different-email-address-than-author-866235/)

ravibhure 03-03-2011 09:55 AM

mail command option to set reply different email address than author
 
Hi,
Is it possible to set or use mail command option to set reply different email address than author?

I want to set diff email for reply-to who one got this email, when he click on reply it send email to diff email address that we set as reply-to.

example:

mail -s "test reply" -s ravi@example.com -- -f <fakename> 'reply-to' ravi@example.com

-Ravi

rafatmb 03-03-2011 10:35 AM

Hi,

I suggest that you try to use sendEmail (http://freshmeat.net/projects/sendemail/). With it, i'm sure that you can do that.


[]'s

Rafa
Linux, Linux and Linux! Suporte Linux

wpeckham 03-03-2011 11:15 AM

Reply email address
 
I doubt if any implementation of "mail" or "mailx" would be able to do that.
You may want to check into "mutt". Mutt uses some environment variables and muttrc files to set itself, and I believe that this is something that you can configure.


All times are GMT -5. The time now is 09:20 AM.