Create ticket from mail does not take body

patrick 's Avatar


18 Nov, 2011 09:44 PM

I have been creating an automated email from an external bug tracking system to Lighthouse, based on assignment. However when this email is sent, it gets through, but only the subject. This subject text is placed as the ticket's subject field as well as the body field.
The email has got the body in it, and when i send it to another mail account, it is treated as a body. If i create a mail from let's say mac mail, with subject and body, it is issued perfectly.. subject is title, body is body.
What is going wrong here?

  1. Support Staff 1 Posted by Tiger Team on 18 Nov, 2011 09:51 PM

    Tiger Team's Avatar

    Do you have a copy of the message? or the subject? I can search it and
    take a look asto why.

    My first guess is that you're not sending a plaintext part .

  2. 2 Posted by patrick on 18 Nov, 2011 09:59 PM

    patrick 's Avatar

    Subject is: Filesize limitation on browser upload in IE
    I had tried an html formatted body and a plaintext body..

  3. Support Staff 3 Posted by Tiger Team on 18 Nov, 2011 10:04 PM

    Tiger Team's Avatar

    No, you're not :)

    Subject: Filesize limitation on browser upload in IE
    MIME-Version: 1.0
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    From: [email blocked]
    References: <iTop/Incident/90>
    Message-Id: <[email blocked]>
    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.

    That's the entire body, only one 'part' and it's text/html. Set the
    content-type as text/plain OR make it multipart with a text/plain

  4. 4 Posted by patrick on 18 Nov, 2011 10:22 PM

    patrick 's Avatar

    well.. it is a plaintext body, but I understand the headers are wrong.
    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..
    Thanks for the info.

  5. Support Staff 5 Posted by Tiger Team on 18 Nov, 2011 10:27 PM

    Tiger Team's Avatar

    You can also try this

    Make a text file: message.txt

    From: "User Name" <[email blocked]>
    To: "John Doe" <[email blocked]>
    Subject: This is a test email
    MIME-Version: 1.0
    Content-Type: multipart/alternative; boundary="=_myboundary"

    Content-Type: text/plain; charset=us-ascii

    This is plaintext

    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: quoted-printable

    This is html



    then run

        sendmail < message.txt

    You can also use our API to create messages. But lighthouse doesn't
    support HTML in messages, so we don't read the html part.

  6. 6 Posted by patrick on 18 Nov, 2011 10:37 PM

    patrick 's Avatar

    Thanks for the suggestion.. I tried that just now and it does not work either..
    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..

  7. Support Staff 7 Posted by Tiger Team on 18 Nov, 2011 11:07 PM

    Tiger Team's Avatar
  8. Amanda Harasty closed this discussion on 22 Nov, 2011 09:26 PM.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac