Send the data of a form by email for a commercial demand | Community
Skip to main content

Send the data of a form by email for a commercial demand

  • October 14, 2022
  • 3 replies
  • 0 views

Web21

Hello,

I'm new to development on Zendesk. 
I have been asked to set up a form on the help desk so that the sales people receive key information about potential customers who would make a request.
However, the information entered by the customer must be received on a mailbox and not through a ticket.
So I wanted to use PHP to do this.
I understand after some research that I would have to go through an API but I don't understand how.

Maybe there is an easier way to do it ?

3 replies

Greg29
  • October 17, 2022

Hi there! If you just need to send an email from a webform using PHP, it doesn't seem like that would have anything to do with Zendesk. I'm not familiar with PHP, but it looks like there is a mail function you can use to send emails. If I misunderstood what you're trying to do, please share some more details so that we can best assist.


Web21
  • Author
  • October 17, 2022

Hi and thanks for responding me.

You understood what I'm trying to do.

I know this mail function, but I can't write PHP in Zendesk's .hbs files no ?


Greg29
  • October 17, 2022
I guess I'm not seeing how Zendesk plays into this scenario. Zendesk is a ticketing platform, not an email provider. We do have the option of sending requests to a support@[yoursubdomain].zendesk.com email address, but there is no inbox to review the sent mail, it's just a method to create a ticket. Essentially, if you send an email to that address, it will always become a ticket and it will only be a ticket.