Specifies one part of a multipart e-mail message. Can only be
used in the cfmail tag. You can use more than one cfmailpart
tag within a cfmail tag.

 <cfmailpart type="text/plain">


Attribute Reference for the cfmailpart tag


Required: Yes
The MIME media type of the part. Can be a can be valid MIME
media type Values:
  • text/plain
  • text/html


Required: No
Specifies the maximum line length, in characters of the
mail text. If a line has more than the specified number of
characters, replaces the last white space character, such
as a tab or space, preceding the specified position with a
line break. If there are no white space characters,
inserts a line break at the specified position. A common
value for this attribute is 72.


Required: No
The character encoding in which the part text is encoded.

For more information on character encodings, see: Values:
  • utf-8
  • iso-8859-1
  • windows-1252
  • us-ascii
  • shift_jis
  • iso-2022-jp
  • euc-jp
  • euc-kr
  • big5
  • euc-cn
  • utf-16

Fork me on GitHub