Sun 9 Apr 2006
PeopleTools 8.4x added an option in the PeopleCode function SendMail() for specifying the content-type. In PeopleBooks, what is immediately highlighted is the ability to format your emails using HTML by setting the content-type to text/html. What probably isn’t well known is that it is also possible to set the content-type to other MIME types such as multipart/related.
text/html alone will allow you to format the text of your message. But if you need to display an image such as a logo, <img> tags inside your html will need to link to images stored in a web server somewhere. Sometimes, this is not ideal. With multipart/related, you can embed images in your email messages.
The PeopleCode to send multipart/related message is the following:
SendMail(0, &mail_to, &MAIL_CC, &MAIL_BCC, &MAIL_SUBJECT, &MAIL_BODY, "", "", %SMTPSender, ";", "Content-Type: multipart/related; boundary=""ps-MIME-boundary-0""");
Now, your message body (&MAIL_BODY) will contain an html part and image part(s). The following is an example of the &MAIL_BODY of a message. (Note there is no line-break before –ps-MIME-boundary-0)
--ps-MIME-boundary-0
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<img src='cid:pslogo@unique.com'>This text is after the <b>logo</b>.
<p>This is another paragraph</p>
<img src='cid:pslogo@unique.com'>This text between 2 logos.<img
src='cid:anotherlogo@unique.com'>
--ps-MIME-boundary-0
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-Id: <pslogo@unique.com>
/9j/4AAQSkZJRgABAQEAZABkAAD/4QAWRXhpZgAATU0AKgAAAAgAAAAAAAD/2wBDAAUDBAQEAwUE
BAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/
2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4e
Hh4eHh4eHh4eHh7/wAARCAApADIDASIAAhEBAxEB/8QAGwAAAgMBAQEAAAAAAAAAAAAAAAcFBggD
AQT/xAAxEAABAwMCBAQEBgMAAAAAAAABAgMEBQYRAAcSEyExCBRBYSIyUXEVFiNCUoEXkfH/xAAb
AQACAwADAAAAAAAAAAAAAAACAwAFBgEE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4K8y3MV+tJeELmurUf1uHCSo5J7gE/c6ZVdeXUSOwShnYO/DfTRd9M0
DKoZ6qqpnpISF+EBwHG2S5YEKYjjc5iAaeuEViotUW3ay+iqiSuRIiRXCy4XeJSkZCfiSc8JGexx
p8+Cq6LibYlWTWLKqVHYbSuW1KdYW01kqALYSpAwTknufXpqbtvbXcuoUiHb9arbVCokNPByaerD
jw9SpQ6nOfU49tMCxdqKDZ1YTVqVNqXmeAod5j2Uug/yH366Wieky7TL3OSSXflsRmNQ1smeFy+8
JKR5EIQCkAeUFfhLtxcIYGjRo0EYqElvJt9eFT3EiXfbKYE0tx0tBiXghpSc9QD0I65++dcKXtPd
t1Vhiq7l1sSGWDlqAwcNp9sABIH2GT9dPTRpXYpd40KdT1yJCZKLQUptCgkX28BWR+mMLO4dlbTr
Fzt1tfmGEgN82I0QGXeAYSSMfQAaXtl7U3R/kFAq8NuNR6dU3pqXgsK8wVEcOPbCR399aO0ahkpJ
eAkak6hJkqk33AptD72hiPDxsSPXb4DGjRo02KGDRo0akSP/2Q==
--ps-MIME-boundary-0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Id: <anotherlogo@unique.com>
R0lGODlhMAAwAPeIAAAAABsXES8bDikcFDQdDzohEzQqRUglFFQrFVk0F0kqIUQzO1YuJFg5J2c3
F3U7F2o4JUU1S01APmtEHHpEGH9YG21CJXZKInxULVVBRmVNTXlTTHdZZ4ZJF4xUHZFPGJRYGohL
JYRKNopWJJNbI49jGp1gDptjHI1jKZpkJphnMqNdGqRaIadoFqxyF7BuG7J2F6RsJ6RrNap0Kat4
M7F7KrF9M4VZSZZfQIRkXYxnZJt1Ypt+c6×9QsISF9cNFdUUGNQvINk8KuQRFuolGvoyFMlONNdM
MddQNtp5St9+UbGCHq2BM7aDLLmHNLiJRbiNUb6QQb+UUMCON8WVO8eaRsSZVcidcM2iScynWNKk
StSqV9y0Wc+ub9OnYNi1Z9e5eeC4XuKgaeGveuK8Y+S8ddzAeOjCa+rIdPLOev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wWIEyBS
nEhRAkSMGlSoOGnSpEkNGDVixAiBCBEiRIgQIUKEyEKIGFbk1KHDBw+dL2GoOJniJMYMGjZizJAR
I0WKGU2cOGnSpMYMFRYQIUKECBEiRIgAIkKECBEiRIgQ8QghxUqVLFuqUJnixIb+jRozZsygQaOG
kyY1ZsQgAUEDIkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSI
ECFChAgRIkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSIECFC
hAgRIkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSIECFChAgR
IkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSIECFChAgRIkSI
ECFChAgRIkSIECFChAgRIkT+iBAhQoQIESJEABEhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAh
QoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQI
ESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJE
iBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAh
QoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBAhQoQIESJEiBBBIUKECBEiRIgQIUKE
CBEiRIgQIUKECBEiRIgQIUKECBEiRIgQIUKECBEigIgQIUKECBEiRIgQIUKECBEiRIgQBQQAOw==
--ps-MIME-boundary-0--
The first part of the message has the text/html content-type. This will contain the formatted message itself. The other parts contain the image data. The gibberish looking lines above are the image data encoded in base64. You could encode your logo using a base64 online tool. Each image part has a corresponding Content-Id. The images are referenced by the text/html part by specifying cid:{content-id} in the <img> src attributes.
The following screenshot shows how the above message looks like in a client like Outlook Express:
One final note: even if you use multipart/related as the content-type of your message, the attachment functionality in SendMail() will continue to work. Following screenshot shows a message with attachments:
July 7th, 2006 at 11:10 pm
Hi ChiliJ,
Just wanted to let you know that I have been reading up on your blog and find it exteremly useful. Thanks for the wonderful service….
I ave one question on the SendMail, normally we would code it like below:
&TEXT2 = MsgGetExplainText(21000,2602, “Message Not Found”, &FirstName, &URL1, &URL2, &URL3, &URL4, &URL5);
&MAIL_TEXT = &TEXT2;
In case you have shown above how would we set the &MAIL_BODY with the binaries for logo etc. Thanks in advance for all your useful information.
Ragu
August 9th, 2006 at 3:01 am
Hi ChiliJ,
I tried it in a Application Engine PeopleCode. It is a batch process and supposed to send out email impacted people on a nightly basis. Currently we use:
&TEXT2 = MsgGetExplainText(21000,2602, “Message Not Found”, &FirstName, &URL1, &URL2, &URL3, &URL4, &URL5);
&MAIL_TEXT = &TEXT2;
and that works, but the email is in no way formated.
So I created the HTML format with bind variables and was disappointed to see the below message in the log file:
Function GetHTMLText cannot be run in the Application Engine. (2,636)
Is there anyway around it? Have you tried it with PeopleCode in an Application Engine. Looking to hear from you soon.
Thanks,
Best Regards,
Ragu Sadasivam
September 7th, 2006 at 12:19 am
Ragu,
You are correct in saying that GetHTMLText cannot be called from an AppEngine. I ran into this same issue when trying to use an HTML object to store XSL. Since I couldn’t use GetHTMLText, I wrote an SQL statement to extract the text of the HTML object. This worked with PeopleTools 8.43, but PeopleSoft changed its PeopleTools table structure in a later PeopleTools version, rendering my SQL object invalid.
As of PeopleTools 8.45 (or 8.44, not sure when it changed), PeopleSoft stores HTML objects in the table PSCONTENT. The CONTNAME field contains the name of your HTML object. The CONTTYPE field value for HTML objects is 4. The CONTDATA field will contain the text of your html object.
Because PeopleTools tables are subject to change without notice, I chose to create my own table to store text objects like HTML and XSL. I can then retrieve the text from AppEngine PeopleCode using SQLExec. I also created a page and a component to maintain the text in the text objects. While this approach isn’t as simple as using an HTML Object and GetHTMLText, it is “safe” from upgrades.
Unfortunately, since you can’t use GetHTMLText from AppEngine, you can’t use PeopleSoft’s HTML bind parameters. Instead, you will need to find an alternative bind variable substitution solution (write a PeopleCode substitution algorithm, use Java from PeopleCode, use an XML/XSL to text transformation, etc).
In response to your question about images… The images are stored in the multipart message as base64 encoded binary images. In the example above, they are part 2 and 3 of the message (the “gibberish”).
Regards,
Jim
September 15th, 2006 at 5:01 am
Hi ChiliJoe,
very interesting blog. I’m wondering if you ever tried to use SendMail to send a “private” email from PeopleSoft. What I mean by “private” is an email received in MS OutLook with the flag “Sensitivity: Private”. We’ve tried a couple of things with no success. I think we only have to put “Sensitivity: Private” in the message header, but it doesn’t seem possible to do that with SendMail. Do you have any idea how this can be done?
Regards,
Patrick
September 18th, 2006 at 12:12 pm
Patrick,
If your application is on PeopleTools 8.46+, you may try looking at PT_MCF_MAIL application package. I’m not sure yet, there are classes in this application package which may allow you to do what you want.
I think it’s using a SMTP connector in Integration Broker, so make sure Integration Broker is setup properly.
September 18th, 2006 at 11:35 pm
ChiliJoe,
we’re currently using 8.44, but are looking at upgrading to a newer version. Thanks for the insight.
Patrick
September 28th, 2006 at 8:00 am
hi,
I am using a notification templates (Generic Templates) to send notification. I am calling my custom template from an App Engine and sending notification to the user. I have to add the html objects in my template. I used html tags but the email are not intrepetting html tags into html language instead of that in mail it is showing as it is like
I used
but then also result is same. Let me know the alternative for this
September 28th, 2006 at 9:54 pm
Hi ChiliJ,
As regards your reply to me above, “I chose to create my own table to store text objects like HTML and XSL. I can then retrieve the text from AppEngine PeopleCode using SQLExec.” Are you using Oracle table? If so what column type are you using to store the HTML? When you do a SQLExec to retrieve the column how are you converting back to HTML (which is the equivalent of GetHTML)? If possible could you email me a sample peoplecode from your application engine where you are performing this. Thanks in Advance.
Best Regards,
Ragu
November 24th, 2006 at 9:58 pm
hi ,
we’re currently using 8.48
I am using sendmail function calling from App Engine peoplecode …
Issue:if there is now nows in the file ,it should send a mail to concern person that there is no rows in the file
while iam using following iam getting error
help me to find asolution …
Function SendMail();
&MAIL_FLAGS = 0;
&MAIL_TO = “dduffield@peoplesoft.com”;
&MAIL_CC = “”;
&MAIL_BCC = “mom@aol.com”;
&MAIL_SUBJECT = “no rows !”;
&MAIL_TEXT = “no rows in the file .”;
&MAIL_FILES = “”;
&MAIL_TITLES = “”;
&MAIL_SENDER = “MyEmail@Yahoo.com”;
&RET = SendMail(&MAIL_FLAGS , &MAIL_TO, &MAIL_CC, &MAIL_BCC, &MAIL_SUBJECT, &MAIL_TEXT, &MAIL_FILES, &MAIL_TITLES, &MAIL_SENDER);
if not (&RET = 0) then
WinMessage(”Return status from mail = ” | &RET);
end-if;
end function;
April 5th, 2007 at 9:47 pm
Is anyone now how to use peoplecode function createobject?.
I use createobject(”PEOPLESOFT.IDE”) and i have this error message: class “PEOPLESOFT.IDE” does not exist.
Thanks
tatute
April 13th, 2007 at 1:30 am
Hi,
We are using PeopleTools 8.43.
Issue: Email appears unformatted with html tags when we send emails to 99+ recepients. Email body is fine when we send it upto 98 recipients.
Any thoughts or help in this matter would be greatly appreciated!!!
Thanks.
September 21st, 2007 at 6:15 pm
Has anyone created an PDF file using peoplecode?
Right now we are creating an report in htm format and sending it as attachement to the concerned person but the problem is lot of mail systems block .htm attachements due to virus threat. So the client said to create and PDF doc and hence the question. I suppose we can create an PDF using SQR but wanted to knwo if it is possible through AE peoplecode.
Also one more Q how would i insert an image(company logo) insied the present HTML file?
I have created and saved the image in the DB and trying to get the same through peoplecode but the image is bloaked otu in the html page showing a small block with X inside.
October 19th, 2007 at 12:26 am
Hello - in addition to Patrick’s note has anyone actually been able to make an email private when sending from PS to Outlook?
November 8th, 2007 at 3:38 am
Hi,
How do you get the Application Server Name at Runtime from an APplication Engine Program?
Ex: I need to create a link to the Manager’s Self Service Page to be sent in an email via an App Engine.
Is there any Env Variable that gives the Server Name?
Please let me know.
November 8th, 2007 at 11:23 pm
Mia, try to see what %DBName would resolve into.
November 9th, 2007 at 5:23 am
Joe,
%DBName gives only the DB Name.
All i need to get is the server name dynamically. Ex: ddaa.dev.mycomp.com
I’m able to all other values like Portal Name, Node Name, MenuName, DB Name.
Please let me know.
Thx
November 13th, 2007 at 3:17 pm
Hi all,
When I’m trying to send multiple mails to customers in HTML format by PeopleCode and seem that SendMail() function is out of date because it has only 2-3 parameters. (my PSFT is 8.42)
I’ve create a new java program to generate HTML contents and deliver to the email address which is passing from PeopleCode.
Hope this help,
Yutaphum
March 3rd, 2008 at 6:33 pm
Hi,
When I’m trying to send multiple mails to customers in HTML format by People Code and seem that Send Mail() function is out of date because it has only 2-3 parameters.
Regards,
Freeda
July 11th, 2008 at 2:12 am
Hi all
A try to use a message from the message catalog instead of the HTML Object, and i can use the bind variable.
Regards.
November 3rd, 2008 at 5:18 pm
hi,
while using the send mail function, getting the following error -
smtp send mail failed (server 172.21.0.53:25)- cannot send mail to someone@somewhere.com).
please let me know whats the problem.
January 1st, 2009 at 7:09 pm
Hi Mr.Deepak Ray,
Did u get any updates on ur question? I am expereincing a similar problem plz let me know wat can be the cause and the slution to this error.
Regards,
Anamika