Jump to content

Forms combined with email piping


donnyboy

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 4 weeks later...

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

Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated