![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| doubt in awk | jisha | Shell Programming and Scripting | 4 | 04-16-2008 01:02 AM |
| awk doubt.. | esham | Shell Programming and Scripting | 11 | 10-10-2007 11:24 PM |
| mailx error message : mailx: NUL changed to @ | BG_JrAdmin | UNIX for Dummies Questions & Answers | 2 | 12-01-2005 07:27 AM |
| doubt in mailx | ranj@tcs | Shell Programming and Scripting | 2 | 04-02-2005 11:42 PM |
| doubt on name | shruti_mgp | UNIX for Dummies Questions & Answers | 1 | 03-10-2005 07:21 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Mailx Doubt
Hi,
I just wanted send corbon copy in mailx command, could you please assist me? I tried the below but it didn't work cat sample.txt|mailx -s "hi" -c xyz@gmail.com abc@gmail.com Shahnaz. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
This should be fine - works for me
Check your maillog. For example, on one of my Solaris 10 boxes, Code:
mailx -s "Testing" -c me@localhost me@somewhere-else.com < infile ... to=me@localhost,me@somewhere-else.com ... as it's sent. Can you see a similar line in your maillog (depending on your OS, this may be /var/log/syslog, /var/log/maillog, /var/log/mail.log - check your syslog configuration). Does your mail make it to the primary recipient? Or doesn't it arrive at all? In that case, check your local MTA configuration. Cheers ZB |
|
#3
|
|||
|
|||
|
Thanks for your reply.
primary recipient is getting the mail, it doesn't show anything wrong. But mail is not going to -c <mail id> to=xyz@gmail.com, ctladdr=bas (20020/10) i can see the above line from the log. SunOs 5.9 si the OS for me. Shahnaz. |
|||
| Google The UNIX and Linux Forums |