We help IT Professionals succeed at work.

What are the options on Solaris 9 for rmail -m

wcynemy
wcynemy asked
on
Medium Priority
472 Views
Last Modified: 2013-12-27
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?
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2007

Commented:
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."
Brian UtterbackPrinciple Software Engineer
CERTIFIED EXPERT

Commented:
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.  

Author

Commented:
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.
 

Author

Commented:
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?
 
CERTIFIED EXPERT
Top Expert 2007
Commented:
"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?"

this is what I said initially

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.