donnyboy Posted January 10, 2008 Share Posted January 10, 2008 I have it set up so tickets are automatically created when certain emails are messaged. Now, I'd like to create a form, where people could easily just fill it out and click the send button, which will send the form information to whmcs and create a ticket with it. The question I have is: what values or names will whmcs recognize for the name, email, subject, urgency, and any other fields used to create tickets? 0 Quote Link to comment Share on other sites More sharing options...
Tech Entrance Posted January 10, 2008 Share Posted January 10, 2008 Why not just opening regular ticket ? actually the form you are talking about is the actual "open ticket" page in WHMCS I hope I'm not missing something here. 0 Quote Link to comment Share on other sites More sharing options...
railto Posted January 10, 2008 Share Posted January 10, 2008 Why not just opening regular ticket ? actually the form you are talking about is the actual "open ticket" page in WHMCS I hope I'm not missing something here. Im thinking along the same lines as you here, and if you dont want a user to have to navigate the whole way through then just create a link to the submit ticket page, you can even have each link for a specific department 0 Quote Link to comment Share on other sites More sharing options...
jasonBV Posted January 10, 2008 Share Posted January 10, 2008 If you want to use a form to create a ticket, why not have that form generate an email to the email address being used to parse the tickets. Just send the email with the user's information as the return address/name and info in the body so it will parse as if the user sent it. You could send some test emails to see if it's possible to manipulate any special values such as priority. 0 Quote Link to comment Share on other sites More sharing options...
donnyboy Posted January 10, 2008 Author Share Posted January 10, 2008 If you want to use a form to create a ticket, why not have that form generate an email to the email address being used to parse the tickets. Just send the email with the user's information as the return address/name and info in the body so it will parse as if the user sent it. You could send some test emails to see if it's possible to manipulate any special values such as priority. that sounds like an alright idea, but what values would be for the subject, email, and message? 0 Quote Link to comment Share on other sites More sharing options...
MikeDVB Posted February 5, 2008 Share Posted February 5, 2008 Send it to your support ticket e-mail. Like if you had a "Request SSL" form you could have it send mail to your support or sales e-mail (such as support@yourdomain.com) that processes as tickets. You could set the subject to anything you want, but for an SSL request for example you might want to use ">>>> SSL REQUEST <<<<" or something of the likes. You could then have the form put whatever information inside the e-mail you like such as the user's typed content, a pre-defined message to your support staff, just as you could if you were sending a mail with a form to a regular person. If they're logged in you can use the whmcs variables to have the sender's email set in the ticket as the reply-to etc. I've actually done this myself with http://www.mddhosting.com/design.php if you want to check it out. Mike 0 Quote Link to comment Share on other sites More sharing options...
isdoo Posted February 5, 2008 Share Posted February 5, 2008 Do you know of a decent formmail script that is 'safe' and works with such a form? BTW - you have .co.uk set to a minimum of 1 year, whilst they have a set 2 year period 0 Quote Link to comment Share on other sites More sharing options...
MikeDVB Posted February 15, 2008 Share Posted February 15, 2008 What it really comes down to, is any PHP form mailer that sends an e-mail to a destination e-mail address, with a specific subject, and specific content, will work. You just need to know how to customize the form and how it formats the data. 0 Quote Link to comment Share on other sites More sharing options...
isdoo Posted February 15, 2008 Share Posted February 15, 2008 Thanks - I can easily alter a script - however in the past my fingers have been burnt with insecure php -> email forms that are not secure and have been abused by spammers. Matts (Script Archive) formmail script is a no-no for example and is banned from most servers. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.