Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 448
  • Last Modified:

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?
0
wcynemy
Asked:
wcynemy
  • 2
  • 2
1 Solution
 
omarfaridCommented:
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."
0
 
Brian UtterbackPrinciple Software EngineerCommented:
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.  
0
 
wcynemyAuthor 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.
 
0
 
wcynemyAuthor 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?
 
0
 
omarfaridCommented:
"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
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now