Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.2 Online Documentation (MoTW) Revision 3

EM_ADD_PLAIN_TEXT Function (DataBasic Email API) (em_add_plain_text.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

EM_ADD_PLAIN_TEXT Function

Purpose

Adds a plain text version of the email to the body of the email. This is displayed if the client receiving the email cannot display HTML or if an HTML version is not supplied by EM_ADD_HTML_TEXT.

Any attribute marks in the text are replaced with a carriage return/linefeed sequence.

Syntax

EM_ADD_PLAIN_TEXT(body-text)

Syntax elements

body-textThe plain text to add to the body of the email.

Returns

None

Comments

The EM_ADD_PLAIN_TEXT function is intended to be used only once per email.

You must include the item #EM_INCLUDES in all programs that use the Email API functions; for example, you could add the line

INCLUDE #EM_INCLUDES FROM /SYSFILES/SYS.BASLIB

at the start of the program, or create an item to be automatically included that contains this line.

RealityV15.2Revision 3Comment on this topic