![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using mailx to send in the future? Also change "from" address? | paqman | Shell Programming and Scripting | 3 | 1 Week Ago 02:46 PM |
| change from address in mailx | koti_rama | Shell Programming and Scripting | 1 | 09-26-2007 01:26 AM |
| Send email where # is in the email address - Using Unix | jingi1234 | UNIX for Dummies Questions & Answers | 1 | 05-23-2005 08: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 07:43 AM |
| mailx sender address customisation | vasan_srini | UNIX for Dummies Questions & Answers | 1 | 09-10-2001 05:40 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I am not finding much on this, any pointers are appreciated.
ThankYou, Radhika. |
|
#4
|
|||
|
|||
|
I am sorry didn't mean to offend anybody. Just am desperate as it is a production issue. I figured some body must have gone through the same issue and was hoping for some help, that's all.
Thankyou, Radhika. |
|
#5
|
||||
|
||||
|
Try reading the manual pages for mailx.
|
|
#6
|
|||
|
|||
|
I figured it - it's -r option.
ex: mailx -r $returnaddress -s $subject toaddress@xxx.com < $mail_mesgfile |
|||
| Google The UNIX and Linux Forums |