Hi,
Now any mail imported to the ticket system is converted to plain text by using the strip_tags function.
This means that we cannot see the mail as the customer intended us to see (like colors, pictures with HTML tags or any other formatting of the email).
I understand the security reasons and concerns - but maybe the best way to address this issue is to allow admins to manually choose if this ticket is safe (i.e came from someone that you trust - and you expect such a mail) - and if so to allow WHMCS to show the ticket without the strip_tags function.
So a ticket will be imported to WHMCS without the HTML formatting - but admin will have the option to choose if this is a safe ticket that can be shown with the original HTML formatting.
Something like the option in gmail or outlook to download / show pictures if you want.
Another option is to completely separate it from the ticket - by opening such a ticket / original mail in a browser.
So a ticket will be imported to WHMCS without the HTML formatting - but an admin can click some button to see the original mail (with all the formatting etc) in a web browser that will be separated from WHMCS).
What do you think?
Thanks!
Ram
Merged Ideas
Convert HTML emails from clients so they show in the admin as intended by the client
Hi,We get the following types of emails from clients:Replies to our emails where in their email client they use a different color text to separate their reply from our question.Same thing but they use bold.They use bulleted lists from time to time.We need to see them as they were intended.
34 Comments
Login to post a comment.
We have a lot of problems with content missing in tickets that leaves us unable to deal with tickets.
For example emails from domain registrars, which have links in them to approve domain transfers, which we cannot click because there is no link.
We have to go and extract the mail from the deleted folder of the mailbox when this happens, which is a royal PITA.
Client just sent me an email saying "what do you think of this newsletter design".
Email in WHMCS is basically stripped of all html.
My workaround at the moment so I dont look inept is I route a copy of support emails to a folder in my email account so I can refer to the email the client is talking about, not ideal for large teams but works for now.
WHMCS does need to put something in to give US THE USERS the choice to display html or not.
1. hurts efficiency : many sending email clients end up putting a huge amount of formatting code into the plaintext email ticket message as a result. This actually makes out staff job harder because they now have to fish through the message for the real message in and around the header/formatting code. It wastes our time and makes us less efficient.
2. Client intended messaging : clients, like the OP said, use colours and basic formatting in their message to convey their meaning. We lose this so end up having to ask the client for more clarification, which usually just slows things down and ticks them off for having to repeat themselves.
We need this a lot
https://requests.whmcs.com/topic/add-an-option-to-see-the-original-mail-from-the-client-with-the-original-html-formatting-etc
No need to open new feature requests - please search the system.
WHMCS - Please merged the old one with the new one.
I agree with hcamelion.
I gave his this exsample via ticket:
"......customer will send us a mail from there regular email software / provider (like Gmail, outlook etc.) and we will be able to see the same formatting that we use. Now when a customer us a mail (let's say using Gmail ) and add some text in bold - There is no way for us to see that the customer used bold to emphasize a specific text etc. Up until now we couldn't add text in bold our self - but since adding markdown support there is a way for us to send customers mails with all kind of basic formatting. The same formatting that we use should be allow to be added to the ticket system via mail - I guess this means that the "strip_tags function" should be updated to let some basic formatting in to the ticket system - as least the same formatting that we can use with the new markdown system."
".... I see the problem, but I'm talking about selective and manual process that the admin have to manually select in order to view the mail. not something that will work automatically.Maybe such a mail should be opened in some kind of a sandbox or via another browser tab or maybe a preview button like the one we have in markdown that can be only viewed by an admin - in a view only mode. I'm sure that such a "sand box" option to view mails is something doable."
Please try to push this forward...
Thanks!
Ram