![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using mailx to send in the future? Also change "from" address? | paqman | Shell Programming and Scripting | 3 | 11-10-2008 05:46 PM |
| change from address in mailx | koti_rama | Shell Programming and Scripting | 1 | 09-26-2007 04:26 AM |
| Send email where # is in the email address - Using Unix | jingi1234 | UNIX for Dummies Questions & Answers | 1 | 05-23-2005 11:23 AM |
| Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win) | Vetrivela | UNIX for Advanced & Expert Users | 2 | 02-15-2005 10:43 AM |
| mailx sender address customisation | vasan_srini | UNIX for Dummies Questions & Answers | 1 | 09-10-2001 08:40 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
mailx- can we change the from address in the email that is sent out.
Hello,
Is there anyway to change the from address in the email sent using mailx command? I have the following command: mailx -s $subject xxx@xxxx.com < $mail_mesg This defaults to the following format "acctname@usserver.companyname.com" as the from address in the email. Problem is this is not a valid one and the recieving server is bouncing the email since it's not a valid address. And we need to change the from address to be a valid one. Any suggestions are appreciated. Thankyou, Radhika. |
|
||||
|
I figured it - it's -r option.
ex: mailx -r $returnaddress -s $subject toaddress@xxx.com < $mail_mesgfile |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|