Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML Mail Beta #300

Open
svoop opened this issue Apr 22, 2016 · 0 comments
Open

HTML Mail Beta #300

svoop opened this issue Apr 22, 2016 · 0 comments

Comments

@svoop
Copy link

svoop commented Apr 22, 2016

Zendesk is currently running a beta program for HTML mail support:
https://support.zendesk.com/hc/en-us/community/topics/200468567

However, the following does not yet appear to work:

zendesk = Zendesk::Client.instance
ticket   # => #<Zendesk::Ticket:0x007f9b8959b2e0 ...>
comment = ZendeskAPI::Ticket::Comment.new(zendesk)
comment.body = "<p>...</p>"   # HTML mail body
ticket.comment = comment
ticket.save

(I know, this could be simplified a little, however, this is the code right now written by someone else.)

The comment is added, however, it is treated as plain text:

screen shot 2016-04-22 at 10 35 48

Maybe some modifications are needed for the gem to support HTML mail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant