Hello,
i will sent my html data with the following script via E-Mail
var toEmail = 'michael.krautscheid@bohle.de.';
var bodyText = getObj("HtmlData").pui.properties.html;
alert(bodyText);
pui.link("mailto:"+encodeURIComponent(toEmail)
+"?subject=Besuchsbericht"
+"&body=" + bodyText
);
the html data are in a textarea and is defined as Graphic 16300 with ccsid(1200)
the pui link opens the outlook client , but the bodytext have the html tags ( eq <br> an so on )
if there a way to transform this ?
thanks a lot Michael
print HTML Mail
-
- New User
- Posts: 13
- Joined: Wed Nov 19, 2014 3:39 am
- First Name: Michael
- Last Name: Krautscheid
- Company Name: asMika
- Contact:
print HTML Mail
- Attachments
-
- mailsent.PNG (16.64 KiB) Viewed 381 times
-
- textarea.PNG (34.61 KiB) Viewed 381 times
-
- New User
- Posts: 16
- Joined: Mon Jul 02, 2018 7:56 am
- First Name: Kerim
- Last Name: Güney
- Company Name: Task Force IT-Consulting GmbH
- City: Dortmund
- Zip / Postal Code: 44369
- Country: Germany
- Contact:
Re: print HTML Mail
Hello Michael,
I know we talked about this already but I'd like to still answer your question here for future reference (and to possibly get a second opinion). "mailto" does not support MIME-type HTML for the email body. You can find this information in the RFC 6068 at https://tools.ietf.org/html/rfc6068
I know we talked about this already but I'd like to still answer your question here for future reference (and to possibly get a second opinion). "mailto" does not support MIME-type HTML for the email body. You can find this information in the RFC 6068 at https://tools.ietf.org/html/rfc6068
If you want to send html emails, a server-side solution might be the way to go.The "body" field value is intended to
contain the content for the first text/plain body part of the
message. The "body" pseudo header field is primarily intended for
the generation of short text messages for automatic processing (such
as "subscribe" messages for mailing lists), not for general MIME
bodies.
Who is online
Users browsing this forum: No registered users and 0 guests