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

verification email not send to user when ticket created #213

Closed
jimmyzhu710 opened this issue Jul 10, 2019 · 5 comments
Closed

verification email not send to user when ticket created #213

jimmyzhu710 opened this issue Jul 10, 2019 · 5 comments

Comments

@jimmyzhu710
Copy link

jimmyzhu710 commented Jul 10, 2019

Hi Team,

I am using api token to create the client as following:
var client = new ZendeskApi.Client.ZendeskClient(
new Uri("https://webs.zendesk.com/api/v2"),
new ZendeskDefaultConfiguration("username here", "this is a password") );
Then I create a new ticket as following:
var ticket = new Ticket()
{
Subject = model.Subject,
Requester = new TicketRequester()
{
Name = model.Email,
Email = model.Email
},
Comment = new TicketComment()
{
Body = model.Message
}
};
client.Tickets.Post(new TicketRequest()
{
Item = ticket
});
But the end user did not receive any verification email. It still worked until this morning. Wondering if you can help. Thank you.

@jimmyzhu710
Copy link
Author

I think the end user receive a welcome email instead of a verification email. Just wondering if your API support the end_user to send a request and receive the verification to his email. like following https://develop.zendesk.com/hc/en-us/articles/360001068627

@corneliuskopp
Copy link
Contributor

Hello @jimmyzhu710! Glad you find our library (at least somewhat) useful!

One thing to start with, please beware that this is a public site. Please do not post authentication credentials here; they may be used by any random person browsing around here.

Secondly, how e-mail verification works is more a feature of the Zendesk instance; our library has not much stake in that. If your process worked until a few days ago and you have not updated the library code since then, it's not really an issue with the library. First port of call would, in my opinion, be to check that the user's e-mail is unverified at the moment.

If you have any issues with your Zendesk instance setup, contacting their support might be a better route.

If this doesn't really help, I may be misunderstanding your problem; would you mind elaborating where the issue is with the API client?

@jimmyzhu710
Copy link
Author

Hi Team,

Thank you for your response. My question actually is in Zendesk an end user can send anonymous request for ticket creation with API token like '{enduser_email_address}/token:{api_token}'. Then call the api 'POST /api/v2/requests.json'. Wondering if your api support this function or not.

@jimmyzhu710
Copy link
Author

Actually the end user doesn't need any authorization, he just calls the request api and specify the email address. An verification email will send to him. Wondering if you support this one

@mikerogers123
Copy link
Contributor

Hi @jimmyzhu710, apologies for the delay in getting back. Our team has recently taken some level of ownership of this repo so we can try to help here.

If I understand your problem correctly, you would like to create tickets as an anonymous user (docs here: https://developer.zendesk.com/documentation/ticketing/managing-tickets/creating-and-managing-requests/#creating-anonymous-requests). If that's the case then there is a duplicate issue for this: #236. The upshot is that we need to add support for this as this API is not designed to support it as-is. There is a TODO card for this, which our team will look at prioritising but until then PRs are still welcome.

For now will close this as there is a duplicate issue. Please let me know if I have misunderstood an we can reopen.

@mikerogers123 mikerogers123 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2022
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

3 participants