How to create automatic ticket?

i'm looking to create a mechanism where client send an email and open automatic ticket with automatic signup (if is the first time he sent an email) and receive an email with confirmation signup forum and link to ticket.

It's possible?

Comments

Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance. The more information you give us the better we will be able to assist you. Thank you.

You have not included any version or environment information.

If you have email fetching configured and do not require user registration, what you are asking happens by default.

What is the exact parameters that you used when you setup the cron job?

Is Plesk calling the cron? Or are you actually using Cron?

Plesk is not cron. Plesk is not a webserver. Plesk is a package that provides you a webpage that allows you to control somethings on your webserver. Apache is a webserver. What version of Apache are you running?

If you can demonstrate how to Receive email via SMTP I'd be quite impressed!

In my experience, that protocol can only be used to Send email.

So, you'll need to configure osTicket to check an IMAP or POP server, just like when you want to read your personal email, so the system can check and download the emails...

If you don't want to tell us what server/type/host you use for email, or how you connect to it (ssl/ports) that's fine, but it limits our ability to tell what might be wrong, however, you can still check those things.

For reference: refer to the link I posted earlier, but at a minimum, you'll have TWO sets of email settings.

Then check the osTicket admin page for the server system settings, it should show ticks for all the modules and settings etc, navigate to "Admin panel" -> Dashboard -> Information, which has URL /scp/system.php

I use this on Ubuntu myself, so it definitely works, but if you don't have the right modules installed, it's not going to work. You'll need php extension imap for what your trying to do.

Next verify your IMAP settings, for instance working Gmail settings are like this "Admin panel" -> Emails -> Your Account:

But it depends on your email host etc what those are. For Gmail you use the full email address as the username and set the password.If you use 2fa for the account, you'll need to setup an application password.

Then run cron from the command line and make sure it works. From a terminal, navigate to the installation folder and run the cron.php script:

cd /path/to/osticketcd apiphp cron.php

That should trigger a fetch, if that works, but it doesn't automatically work, then something is wrong with your cron config.

Actually, it's been a while since I used plesk, but make sure you're passing the full path to the script, that helps.

Depends on your version of plesk, and your level of access etc. They like to restrict access to cron as it can be dangerous to the server as a whole, so it matters what subdirectory your osticket is installed in. I used a wrapper script on my media temple servers when I was working with them and had to use plesk.