E-WF: How to Include a Company Logo Image in the Email Instead of Displaying a Small Box with X Inside?
(Doc ID 658784.1)
Last updated on DECEMBER 21, 2019
Applies to:PeopleSoft Enterprise PT PeopleTools - Version 8.2 and later
Information in this document applies to any platform.
Enterprise PeopleTools Any Release.
This document was previously published as Customer Connection Solution 201056908
***Checked for relevance on 04-Nov-2014***
The Sendmail() function (in HTML format) was used in an Application Engine (AE) PeopleCode program. Everything worked fine except they were not able to display/include a company logo image in the email. In the email the AE sent out where the logo should be it is displaying a small block with X inside. How would this situation be remedied?
Here is the code used in AE:
&MAIL_FLAGS = 0;
&MAIL_TO = &EMAIL_ADDR;
&MAIL_CC = "";
&MAIL_BCC = "";
&MAIL_SUBJECT = "testing";
&MAIL_TEXT0 = "<p><img src= '/psoft/prd/usonlogo.JPG'></p>";
&MAIL_TEXT1 = "<p>" | "this is a test" | "</p>";
&MAIL_TEXT = &MAIL_TEXT0 | &MAIL_TEXT1;
&MAIL_FILES = "";
&MAIL_TITLES = "";
&MAIL_SENDER = "psoftWF";
&MAIL_SEP = ";";
&Content_Type = "Content-type: text/html; charset=utf8";
&RET = SendMail(&MAIL_FLAGS, &MAIL_TO, &MAIL_CC, &MAIL_BCC, &MAIL_SUBJECT, &MAIL_TEXT, &MAIL_FILES, &MAIL_TITLES, &MAIL_SENDER, &MAIL_SEP, &Content_Type);
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document