Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jan 2009
    Posts
    34
    Thanks
    1
    Thanked 0 Times in 0 Posts

    auto reply to post from email

    I am making a issue tracking system.

    here is what I am trying to do. I would like to imbed a value to indemnify an email. If that email is replyed to. So if I send an email from the server using php like.

    to: jsmith@gamil.com
    From: support@gamil.com
    Subject: I need help
    message: some text..
    ticket_id: 123456

    If jsmith@gamil.com reply's to that email I can know what ticket to add the new email text to.

    here is What I can do now is. I can send an email using PHP. I can read email from PHP using the imap functions and put the text into a database. I just need a way to embed a value into an email and need a way to read that value from an email.

    I have used zen desk and it does this, But no one in my office likes to use it

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Best I see you already have all of what you need. The ticket_id is included within the email, so simply parse the email and match the ticket_id from the body after retrieving it from the imap server. You will of course need to manually execute a program to do this, use a cron, or write a service of your own so that it actually listens for incoming messages instead of pulling them on request.

  • #3
    New Coder
    Join Date
    Jan 2009
    Posts
    34
    Thanks
    1
    Thanked 0 Times in 0 Posts
    can I embed the ticket_id into the email so it is not displayed in the email body?

    when I send it from the server?

  • #4
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Quote Originally Posted by soundgod1818 View Post
    can I embed the ticket_id into the email so it is not displayed in the email body?

    when I send it from the server?
    No. You need to use HTML if that is the case, and if that is reliable enough you can just use an image beacon instead. Problem is that HTML emails will never guarantee to be served as HTML nor are images guaranteed to be visible.
    Why not move the ticket id into the subject line? That will make processing a little easier and typically most users just reply instead of modifying the subject. As a ticket id, they should be provided with it at all times, and should they remove it from the email they will reduce their response time. Simply add that to a faq.

  • Users who have thanked Fou-Lu for this post:

    soundgod1818 (09-12-2011)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •