Link to home
Start Free TrialLog in
Avatar of wcynemy
wcynemyFlag for United States of America

asked on

What are the options on Solaris 9 for rmail -m

I am using rmail to send an e-mail to notify us of issues.

One question I have concerns rmail -m.  I do not know what options for rmail -m are thanks to man pages being incomplete.

Can anyone give me the options for rmail -m for message type?
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

it seams from the man page that -m is to send a string in the message header. The man page says:

" -m message_type A Message-Type: line is added to the message header with the value of message_type."
The -m option of rmail takes any string. The string given is then used to set the "Message-Type:" header in the mail envelop section (i.e. the message headers) of the message. So, the string can be anything you want and should match the format of
the actual message passed to the rmail command.  
Avatar of wcynemy

ASKER

omarfarid:
Yes, I know what the man page says.  Unfortunately, I cannot link to the message_type link that it shows.  I am using SSH Tectia Client 6.0.1.16 to view the man pages.
 
Avatar of wcynemy

ASKER

blu:
You are the man!!!
So, if I say rmail -m smtp or rmail -m html it will send the e-mail via SMTP in the first example, and as HTML in the second?
 
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial