I am using piping to cause emails to create new tickets.

When I send an email to create a new ticket, the body of the email shown in the first message of the ticket thread is preceded by a large number of blank lines. The number of blank lines is approximately equal to the message header lines, although I have done detailed counting and measuring to determine if there is indeed a relationship.

There are also a half dozen or more blank lines at the end of the ticket text, even though they were not in the original email.

The blank lines take up useless space in the ticket. How can I eliminate them so that all I have in the ticket thread is the body of the email?

I believe the email templates control the format of outgoing mail.

My problem is with incoming mail through a pipe creating a ticket. If I send an email with one line of text, "Hello world!", the resulting ticket has about 20 blank lines before "Hello World" in the text of the first entry of the ticket thread.

Just tested it and it works fine on my end...

You're using the latest versions? Maybe you have an empty header within cPanel for that email on outgoing?

cPanel? The email is sent from Thunderbird. But that does raise the question of whether the result would be different from another email program.

Unfortunately, I just broke osTicket trying to install another mod. I've got to debug that first. :(

What is the best way to debug osTicket, anyway? This is my first attempt to do much with php.

Looks like the problem must be in my installation somewhere, probably a mod I added. I've create a separate virgin osTicket installation and it doesn't have the blank line problem.

Well, it wasn't fixed.

Looks like the problem is related to HTML email.

Write a Reply...