MAIL body

Description:   Adds first line of text to the "Body" of this email message. 


Tcl:             MAIL {body=text line 1}

JScript:        MAIL("body=text line 1");              

VB Script:      MAIL "body=text line 1"  


Argument:     "body=", text string

See Also:       MAIL, MAIL body_add


Examples:      MAIL {body=Hello from WebAccess }
MAIL "body= ZT-184 alarm [GETVAL ZT-184] Degf at [GETVAL %TTMTIME]."

The text of the message. It is optionally separated by newline (\n) characters from any following lines added  with MAIL "body_add=". User must perform all line wrapping. The text will be sent verbatim.  Must be specified before each MAIL "send" command. MAIL "send "clears the buffer of any previous MAIL "body" entry.

It is recommended to use the curly brackets {} if possible avoid interpreter from misunderstanding punctuation. If the contents must be evaluated by Tcl, like $variable or [GETVAL tagname], then quote marks "" should be used as the delimiter.

This MAIL  package provides only the html and text transport mechanism -- no provisions have been made for attachments or other fancier email features.  Text is the default. SMTP is supported.  MIME and attachments are not supported. MAIL attempts to be as RFC-compliant as possible.