E-WF: How to Send Email With Content Type HTML

(Doc ID 618929.1)

Last updated on AUGUST 11, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.2 and later
Information in this document applies to any platform.

This document was previously published as Customer Connection Solution 200744816

***Checked for relevance on 13-Feb-2013***


           Provide example of how to send email as content type HTML as opposed to just type plain text.


Up to PT 8.49.12, this variable setting worked for Content Type;

&contentHtml = "Content-type: text/html; charset=US-ASCII";

As of PT 8.49.13, the C++ program that sends email, was changed to use MCF and javamail.  At this point the correct way to reference Content Type is;

&contentHtml = "text/html; charset=US-ASCII";

And if same code offers conditional html or plain text, code like this can be used;

If &Var_Html = True Then
   &contentHtml = "text/html; charset=US-ASCII";
  &contentHtml = "text/plain; charset=US-ASCII";

As of PT 8.50 and beyond which uses javamail, this is the format;




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms