Script URL: www.pianowizardacademy.com/helpdesk
Version of script: 2.6.5
Hosting company: hostgator
Hi. Emails are not getting line breaks. new_ticket.txt for example the way I want it displayed:
Dear %%NAME%%,
Your support ticket "%%SUBJECT%%" has been received.
Priority:%%PRIORITY%%
Category: %%CATEGORY%%
----------------------
%%MESSAGE%%
----------------------
Appear as this in Outlook at least:
Your support ticket “Testing” has been received. Priority:Low Category: Pre-Sales
---------------------- this is a message
I even tried adding <br> in the text file. Any ideas?
Emails are not getting line breaks
Moderator: mkoch227
Re: Emails are not getting line breaks
Do you get line breaks with original unmodified files?
If yes, the most likely error is problems with line endings. Edit text files in a powerful text editor such as Notepadd++ and try either Windows or Unix line endings (even if on a Mac).
If yes, the most likely error is problems with line endings. Edit text files in a powerful text editor such as Notepadd++ and try either Windows or Unix line endings (even if on a Mac).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Emails are not getting line breaks
I am using Notepad ++
Re: Emails are not getting line breaks
The unmodified files look fine. But they don't have
Priority:%%PRIORITY%%
Category: %%CATEGORY%%
In them. As soon as I put them in they get messed up. As am using Notepad ++
Priority:%%PRIORITY%%
Category: %%CATEGORY%%
In them. As soon as I put them in they get messed up. As am using Notepad ++
Re: Emails are not getting line breaks
Go to "Edit" > "EOL Conversion" and make sure you have Windows selected (selected is grayed out). Then save, upload again and test.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Emails are not getting line breaks
Yep, Windows is grayed out
Re: Emails are not getting line breaks
Not sure what to say then... it doesn't make any sense that it works for one file but not for another.
Are you 100% sure the files are getting uploaded to the server in ASCII mode, not binary?
Are you 100% sure the files are getting uploaded to the server in ASCII mode, not binary?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Emails are not getting line breaks
Klemen
I wracked my brain out of this, tried different ftp programs, reuploaded hesk files. Nothing worked.
Finally, I recalled that not too long ago I changed the STMP to use a 3rd party called SENDGRID.
I had to change a setting there "Convert your plain text emails to HTML"
and the problem is gone.
In other words, Sendgrid was converting into html, and completly changing the appearance of the email
Resolved
Thanks
I wracked my brain out of this, tried different ftp programs, reuploaded hesk files. Nothing worked.
Finally, I recalled that not too long ago I changed the STMP to use a 3rd party called SENDGRID.
I had to change a setting there "Convert your plain text emails to HTML"
and the problem is gone.
In other words, Sendgrid was converting into html, and completly changing the appearance of the email
Resolved
Thanks
Re: Emails are not getting line breaks
Thanks for the info and glad to hear you got it working!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools