Body

body  (String)  specifies the body of the message, either directly by including the entire body in the variable (with each line terminated by a CRLF), or indirectly (by giving the name of a file which contains the body of the message.) If you are specifying a filename (either AMOS or native) rather than the body itself, this parameter must contain a string less than 128 characters long with no carriage returns. Otherwise, the parameter will be treated as the literal body of the message. Note that if the header parameter was not blank, and the EMF_HDRCAT flag was not specified, then a blank line will be automatically inserted into the message to separate the header from the body. (This is part of the standard mail format rules, but is so likely to be overlooked by Basic programmers that we do it automatically here.)

If you include HTML formatting within the body of the message, you should specify the EMF_BODYHTML flag in the opflags parameter. Most modern email readers are smart enough to figure it out for themselves, but some older ones may fail to recognize HTML formatting without a "Content-Type: text/html" header, which EMAILX will add for you if you specify the flag.