message body
MIME-Version: 1.0
Content-Type: multipart/alternative;
        boundary="----=_Part_375_26436934.1352907687514"

------=_Part_375_26436934.1352907687514
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit

You most likely can't send an iframe correctly in an email. I'm
guessing most email clients will block that.

Sent from my Windows Phone
From: hari haran
Sent: 11/14/2012 7:41 AM
To: jenkinsci-users@googlegroups.com
Subject: Jenkins email ext plugin -To Send the file contents as mail
message body
Hi All,

I added email-ext to my jenkins to send emails about test results . I want
to send a html file content as email message body.

I tried changing "Content Type" as "HTML (text/html)" and i gave an iframe
in "Default Content" field. But its not able to pick the iframe. Here is
the code

Code Used In "Default Content"

$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS:

<br /><iframe src="http://www.w3schools.com"; width="200"
height="200"><p>you should have seen my other page here, but something
broke.</p></iframe>

<br />Check console output at $BUILD_URL to view the results.

<br />Failed tests: ${FAILED_TESTS}

Please someone  tell me how "Default Content" should be changed so that its
able to pick  the HTML file contents and display it as message body

------=_Part_375_26436934.1352907687514
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html><head><meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Cont=
ent-Type"></head><body><div><div style=3D"font-family: Calibri,sans-serif; =
font-size: 11pt;">You most likely can't send an iframe correctly in an emai=
l. I'm guessing most email clients will block that.<br><br>Sent from my Win=
dows Phone<br></div></div><hr><span style=3D"font-family: Tahoma,sans-serif=
; font-size: 10pt; font-weight: bold;">From: </span><span style=3D"font-fam=
ily: Tahoma,sans-serif; font-size: 10pt;">hari haran</span><br><span style=
=3D"font-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">Se=
nt: </span><span style=3D"font-family: Tahoma,sans-serif; font-size: 10pt;"=
>11/14/2012 7:41 AM</span><br><span style=3D"font-family: Tahoma,sans-serif=
; font-size: 10pt; font-weight: bold;">To: </span><span style=3D"font-famil=
y: Tahoma,sans-serif; font-size: 10pt;">jenkinsci-users@googlegroups.com</s=
pan><br><span style=3D"font-family: Tahoma,sans-serif; font-size: 10pt; fon=
t-weight: bold;">Subject: </span><span style=3D"font-family: Tahoma,sans-se=
rif; font-size: 10pt;">Jenkins email ext plugin -To Send the file contents =
as mail message body</span><br><br></body></html>Hi All,<br><br>I added ema=
il-ext to my jenkins to send emails about test results . I want to send a h=
tml file content as email message body.<br><br>I tried changing "Content Ty=
pe" as "HTML (text/html)" and i gave an iframe in "Default Content" field. =
But its not able to pick the iframe. Here is the code<br><br>Code Used In "=
Default Content"<br><br>$PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STAT=
US:<br><br>&lt;br /&gt;&lt;iframe src=3D"http://www.w3schools.com"; width=3D=
"200" height=3D"200"&gt;&lt;p&gt;you should have seen my other page here, b=
ut something broke.&lt;/p&gt;&lt;/iframe&gt;<br><br>&lt;br /&gt;Check conso=
le output at $BUILD_URL to view the results.<br><br>&lt;br /&gt;Failed test=
s: ${FAILED_TESTS}<br><br>Please someone&nbsp; tell me how "Default Content=
" should be changed so that its able to pick&nbsp; the HTML file contents a=
nd display it as message body<br>
------=_Part_375_26436934.1352907687514--

Reply via email to