Once I have a client contact information saved in Support Module, I could get the following things done..
Client sends e-mail to suport#company.com
Mail Scanner scans, creates a ticket.
A notification is sent that email is received by support team to client.
Admin assigns the ticket to someone, client recieves an email that the ticket is being assigned.
Client replies to the email, the ticket gets updated in the comment.
How ever if I dont have the client information saved, only the ticket is getting created.
How do I auto save the person contact information as soon as someone sends an email to support#company.com?
This sounds like you need to build a vTiger custom workflow.
https://wiki.vtiger.com/index.php/Workflows
https://www.youtube.com/watch?v=CN-zll3wAeI
All I can offer is the links above. You would then have to either code this yourself with custom code or see if you can set up a workflow and a CRON job in vTiger.
Good Luck
Related
My website built in bespoke n-retail coding based on PHP. Currently, I am having an issue whereby the same newsletter message randomly sent to my registered customers.
Where in the file manager I need to check to find the issue. It must be a bug somewhere.
There are 2 possibility
1. Newsletter is send from admin side
2. Cron job
You need to check both files so u get then bug, also provide more information so we can help you.
I have had a look online but couldnt find any information on this even though I feel it would be a regular question, I have a shop at the moment that has been built and runs via html code. The user purchases an item then I get an email from paypal with all the information (address, item etc).
I was wondering is there a way I can pull the information from the email and place it automatcially into a pdf delivery note? At the moment I copy and paste then send it to the warehouse however it would be great if I could get this process done automatically...
Instant Payment Notification (IPN) is what you want to use for that.
Any time a transaction hits your PayPal account their server will POST all of the data about that transaction to a listener script on your server. Your script receives that data and can process it accordingly, including updating your database, hitting 3rd party web services, or simply sending out email notifications with attachments.
I've built a form for customers to message our help desk. This message is stored in the MySQL database for logging and tracking.
I want our help desk to be able to reply to the email, but instead of the email going directly to the customer, I want it to hit my server first (so the reply can be logged and tracked in a thread) and then the server would forward it to the customer.
I've got Laravel 5 setup with Mandrill to do outbound emails currently.
The part that stumps me, is how can I have my help desk send an email to our domain (ie noreply#exmaple.com) and have PHP handle that request? Once I can get it in PHP, I can parse the info out of the subject line etc..
Is there any way to do this?
Thanks!
I am building a basic support request system where the customer can log in and ask a question and an admin can go in and reply and it will set the status to "Responded" and e-mail the customer to let them know someone has responded.
My question is.. I have a "comments" section which is a log of the interaction between the admin and the customer. If I e-mail the customer the initial response from the admin, then I have a feeling they will just hit "Reply" from their email and start communicating through there, and the logs won't be stored.
I could either e-mail the customer and say "Log in to view the response", or maybe if the customer does hit reply I can somehow track it and insert that in the comments table like they did it from the website. If that is even possible?
Just wondering if there is a standard way to do this and any suggestions you may have.
Thanks!
When sending the email to the user you can have it sent from an email address created for that specific ticket. Something that can identify it with your email system to help you route it back to the php ticketing system.
support(ticketnumber)#domain
support12345#mydomain.com
Then it depends on your email server how to go from there.
There are several useful tips at this question that may help or get your started.
How to get email and their attachments from PHP
If you want their reply to be automatically inserted into the DB, you'll have a assign a cron job in your server to run a php script to detect whether there's a reply from a customer (you need a table listing the customers' email and names.
Each time a customer uses the ticket system their email and name goes into this table).
You'll need to connect to your Inbox too via imap or SMTP, and there are scripts to do this (phpmailer, swiftmailer, etc) and "walk" through each email and see if the sender email matches any in your customers table. Then so an INSERT to the comments table.
Anther way is to read through the emails each time the comments page is loaded, but this will cause the page to take longer to load. However, the data will always be more "real-time" compared to cron jobs.
You could use email piping (if your server supports it).
In the subject, you'd have a unique identifier which contains the ticket ID or something unique to the ticket. Example: "How do I eat food [Question: #1234]", where 1234 is the ticket ID.
In your control panel, you would set up an email forwarder to your email piping script.
This tutorial offers the basics to email piping, and I used it as the base for my piping script: http://www.damnsemicolon.com/php/parse-emails-in-php-with-email-piping-part-1
how to make a notification code in php?
when user make a booking request
how to notify admin that there were incoming booking request?
There are several possibilities, including:
Send an email notification to a known address
Use a database trigger to populate a view that the admin user will see on their app's page
Write a message to a queue (such as AMQP) that will be read by another application.