The UNIX and Linux Forums  

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



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sender email address has to changes balajiora Shell Programming and Scripting 1 06-12-2009 10:55 AM
Email address hyperlinks in PDF Giordano Bruno Windows & DOS: Issues & Discussions 2 05-08-2009 02:56 PM
Finding an email address mandriver Shell Programming and Scripting 3 09-17-2008 02:42 PM
Send email where # is in the email address - Using Unix jingi1234 UNIX for Dummies Questions & Answers 1 05-23-2005 12:23 PM
Please upgrade your email address. Neo Post Here to Contact Site Administrators and Moderators 0 05-19-2003 01:28 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #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"
  #2 (permalink)  
Old 06-26-2009
garethr garethr is offline
Registered User
  
 

Join Date: May 2009
Location: England
Posts: 92
Try the -- option to indicate end of options. This works on AIX 6.1:

>mail -- '-IT-group@exch.example.com'
Subject:
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0