tag:help.lighthouseapp.com,2008-09-20:/discussions/questions/1006-create-ticket-from-mail-does-not-take-bodyLighthouse: Discussion 2012-05-18T23:11:12Ztag:help.lighthouseapp.com,2008-09-20:Comment/115280262011-11-18T21:51:17Z2011-11-18T21:51:17ZCreate ticket from mail does not take body<div><p>Do you have a copy of the message? or the subject? I can search
it and<br>
take a look asto why.</p>
<p>My first guess is that you're not sending a plaintext part .</p></div>Tiger Teamtag:help.lighthouseapp.com,2008-09-20:Comment/115280262011-11-18T21:59:25Z2011-11-18T21:59:26ZCreate ticket from mail does not take body<div><p>Subject is: Filesize limitation on browser upload in IE<br>
I had tried an html formatted body and a plaintext body..</p></div>patrick tag:help.lighthouseapp.com,2008-09-20:Comment/115280262011-11-18T22:04:21Z2011-11-18T22:04:21ZCreate ticket from mail does not take body<div><p>No, you're not :)</p>
<pre>
<code>Subject: Filesize limitation on browser upload in IE
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: patrick@aamediagroup.eu
References: <iTop/Incident/90>
Message-Id: <20111118215617.C807931ED5@web.byte.nl>
Date: Fri, 18 Nov 2011 22:56:17 +0100 (CET)
With Internet Explorer, there seems to be a limitation on the size of
the files that can be uploaded from the browser.
Videofiles from about 80MB will get through, but larger files do not
make it through. Within the cantemo/portal.log no PUT call is
registered for these larger files.</code>
</pre>
<p>That's the entire body, only one 'part' and it's text/html. Set
the<br>
content-type as text/plain OR make it multipart with a
text/plain<br>
part.</p></div>Tiger Teamtag:help.lighthouseapp.com,2008-09-20:Comment/115280262011-11-18T22:22:36Z2011-11-18T22:22:37ZCreate ticket from mail does not take body<div><p>well.. it is a plaintext body, but I understand the headers are
wrong.<br>
I cannot create multiparts via sendmail and I want to send html
formatted mails as well with this tool (so setting content-type
hardcoded to text/plain is no option) so i guess this is where it
ends..<br>
Thanks for the info.</p></div>patrick tag:help.lighthouseapp.com,2008-09-20:Comment/115280262011-11-18T22:27:13Z2011-11-18T22:27:13ZCreate ticket from mail does not take body<div><p>You can also try this</p>
<p>Make a text file: message.txt</p>
<pre>
<code>From: "User Name" <username@host.com>
To: "John Doe" <johndoe@fakecorp.com>
Subject: This is a test email
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_myboundary"
--=_myboundary
Content-Type: text/plain; charset=us-ascii
This is plaintext
--=_myboundary
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
<html><body>
This is html
</body></html>
--=_myboundary--</code>
</pre>
<p>then run</p>
<pre>
<code>sendmail < message.txt</code>
</pre>
<p>You can also use our API to create messages. But lighthouse
doesn't<br>
support HTML in messages, so we don't read the html part.</p></div>Tiger Teamtag:help.lighthouseapp.com,2008-09-20:Comment/115280262011-11-18T22:37:55Z2011-11-18T22:37:55ZCreate ticket from mail does not take body<div><p>Thanks for the suggestion.. I tried that just now and it does
not work either..<br>
I guess it has got something to do with the php script that is
sending out the email, because if i get it to my normal mail
account it just displays the text twice, with all directives in
there as well..</p></div>patrick tag:help.lighthouseapp.com,2008-09-20:Comment/115280262011-11-18T23:07:01Z2011-11-18T23:07:01ZCreate ticket from mail does not take body<div><p>posting to lighthouse using the api from php:</p>
<p><a href=
"http://help.lighthouseapp.com/discussions/api-developers/39-api-php-example">
http://help.lighthouseapp.com/discussions/api-developers/39-api-php...</a></p></div>Tiger Team