The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-25-2009
akaq akaq is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 1
email address starting with dash

Hi All,

I am trying to send an email to a group email address that starting with a dash '-it-group', then I am getting the error message " bin/mail: illegal option -- G."

If email address starting without dash, it works. below is the command. I ran the same command it works on HP, but it does not work for AIX server.

Any help would be highly appreciated!

Thanks in advance,
Akaq

echo 'testing'| /bin/mail -s 'testing : warning message' "-IT-group@exch.anywhere.com"