What are the options on Solaris 9 for rmail -m

Posted on 2009-02-18
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?
Question by:wcynemy
    LVL 40

    Expert Comment

    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."
    LVL 22

    Expert Comment

    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 Comment

    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 to view the man pages.

    Author Comment

    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?
    LVL 40

    Accepted Solution

    "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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now