KevinTheJedi
Awesome - thanks for the suggestion Kevin!
I'm currently in the process of setting this up.
So I setup an API Key in the Admin panel and used the template from the documentation to get the following:
{
"alert": true,
"autorespond": true,
"source": "<API KEY>",
"name": "Auto-Ticket",
"email": "itsupport@ourdomain.com",
"phone": "<phonenum>",
"subject": "Testing Mail IP",
"ip": "<The IP of our osTicket server>",
"message": "data:text/html,MESSAGE <b>HERE</b>"
}
I then created this simple HTML file with a submit button to POST
<head>
<link rel="stylesheet" href="mail.css">
</head>
<body>
<div class="container">
<form id="contact" action="generateticket.json" method="post">
<button name="submit" type="submit" id="contact-submit" data-submit="...Sending">Submit</button>
</form>
</div>
</body>
But when I run it, I get an HTTP 405 Error. I read up on the documentation and Microsoft says this is either because my handlers aren't setup right or because of WebDav. The latter isn't installed and I don't use it, and my handlers seem to be setup properly and works fine with osTicket every time. This is my first time setting this sort of thing up - am I missing something here?
Thanks a lot for your help - you're an amazing person!