Re: mail -s does not put subject



On Oct 29, 3:12 am, ChrisOD <ch...@xxxxxxxxxxxxxxxxxxxxxx> wrote:
In article <1193633066.949903.59...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Anoop wrote:
Hi,

I am using Sun OS 10 and trying to use mail in a shell script.

Is there a bug in the -s parameter for the mail command. According to
the api it should put the subject if used with -s, but it never does.
Is there a workaround for this?

Thanks,
Anoop

You could try constructing the message with a Subject: header.

Wow - I didnt know that you could do that - it worked very well - I
wonder where I can find all the other such tags that go with the mail
command.
I just figured out that it supports the To: and the From: as well.

Thank you - it worked nice.

.



Relevant Pages

  • Re: Changing a projects comment text
    ... SS Properties from the command line will show the comment, ... > Does anyone know how to change the comment of a VSS project (i.e. select ... not via the API. ... Does anyone have a workaround for this problem? ...
    (microsoft.public.vstudio.sourcesafe)
  • Re: Raw socket and byte order
    ... If you're constructing a packet, you need to follow the specifications ... This structure is filled in by users and passed to the OS API. ... OS API that just sends the raw data you pass it, ...
    (comp.unix.programmer)
  • MSWord 2003 Mail merge hyperlinks
    ... I am putting together a mail merge to email, constructing a link in the body ... is there a reason & workaround to make the link "hot" in the recipient's ... Prev by Date: ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Converting C-struct (with array) to C#
    ... Were you able to resolve the problem with the workaround in the link you ... >> VMI, ... >> API ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: mail -s does not put subject
    ... Anoop wrote: ... the api it should put the subject if used with -s, ... Is there a workaround for this? ... Wow - I didnt know that you could do that - it worked very well - I ...
    (comp.unix.shell)