Commit Graph

8 Commits

Author SHA1 Message Date
johnnyq
2ad57e2865 Contact alternate email (DB 4.4.1): one more address per contact in the contact window under Email, shown on their page, quick look and the Reach column, searched by the contacts, clients, tickets and global searches, exported and imported as Alternate Email and in the API as contact_email_alt, and recognized on incoming email as theirs - a new ticket as them at their client even with unknown senders off, and their reply by ticket number, conversation or subject - with the ticket's from line showing the address it came from while everything ITFlow sends still goes to their Email and neither address is copied in; the duplicate warning, Try an Email, Unprocessed Email and the ignored sender and routing rule warnings count it too, and the same-as-Email warning shows while typing (contactEmailSql(), contactHasEmail(), contactEmailMatchSql()); 26.12.4 changelog 2026-12-02 13:36:49 -05:00
johnnyq
8dae372d57 Reply type after posting and the reply box on return: a reply's Edit or Change Type offers Internal note, Public note and Email reply, which makes it public and emails it on Save and Email to the To line from its writer by name with their signature and files while the ticket is open, mail is set up, the contact has an address and it hasn't been emailed, counting a newly client-visible note as the first response and giving an unassigned ticket to its writer with a history line; drafts keep their reply type (DB 4.4.0) and coming back to a ticket with a draft or a timer that was already running opens the reply box on the draft's type or the last type picked there, else Internal note, without moving the page (ticketReplyFiles()); 26.12.4 changelog 2026-12-02 12:57:37 -05:00
johnnyq
e57faeeb3a Mail review stage 5: a website form's email is answered at the visitor in its Reply-To, who becomes the ticket's CC under the client whose domain the site is on or none, and Reply-To at the sender's own domain is taken as the sender; someone who isn't a contact is answered without their subject or the ticket's link, and a forged ticket or one with no contact no longer emails the client's colleagues; a client's reply on a ticket nobody is assigned goes to the new-ticket address or the admins, and bounce and closed-ticket notices go to the assigned agent or the admins instead of every agent; an email with no From is from nobody rather than itflow-guest@example.com; a forged email no longer clears Email bounced; an address that is a contact at two clients goes to the one whose domain it is or where they last raised a ticket, with a note; an agent's emailed reply that went to the client is their public reply and the first response; 26.12.3 changelog 2026-11-30 18:22:59 -05:00
johnnyq
17d2611b60 Mail review stage 3: email-to-ticket reads the receiving server's Authentication-Results and treats an email failing DMARC for a domain that asks for reject or quarantine, or SPF with nothing else passing, as from a stranger - a reply is an internal note that reopens nothing, a new email still makes a ticket with a note but copies nobody in and gets no answer, and it never makes a contact; someone who isn't a contact is answered without their own subject; 26.12.3 changelog 2026-11-30 16:50:51 -05:00
johnnyq
a9e5bc66db Mail review stage 1: people copied in on an email become a ticket's CCs only from the email that raises it or a reply to one of its emails, not a reply matched by the number in its subject alone; a subject too long for the mail queue is cut to fit and an email the queue turns away is logged rather than stopping the page or the mailbox; emailed files use the same list as attached ones, which gains heic, heif, tif, tiff, eml, xlsm, ppt, rtf and log, with an internal note naming any file left out; names with an apostrophe escaped once; 26.12.3 changelog 2026-11-30 16:49:01 -05:00
johnnyq
b8db50adfa Rename watchers to CCs in the database and code: database 4.2.8 renames ticket_watchers to ticket_ccs with its columns and index, functions, settings, form and post names, the Add CC modal file, JavaScript IDs, the email preview key and the To line group follow; the ticket email parser waits while a database update is pending instead of flagging email it cannot take; 26.12.3 changelog updated 2026-11-30 14:01:11 -05:00
johnnyq
b22ed53ab3 Clean up incoming ticket mail: a bounce is read first whatever the settings, marking the contacts it failed for and noting the ticket the email was about, found by the bounced email's Message-ID or subject, and never makes a ticket; only a mail server's own address or a bounce report counts, so an address with mta in it is a person; out-of-office replies are a note on the ticket they answer without reopening it or a notice; mail from systems and lists still makes tickets but is never answered; ITFlow's automatic emails carry Auto-Submitted and X-Auto-Response-Suppress, at most five an hour to one address; a watcher's or guest's reply is the client's reply, named by database 4.2.7, reopening the ticket and passed on; a near-same subject is a reply only from the ticket's contact or a watcher and otherwise a new ticket linked as related; a reply to a closed ticket is kept on it as a note and only contacts and watchers are told it is closed; Try an Email follows; 26.12.3 changelog entries 2026-11-30 13:34:24 -05:00
johnnyq
42ea7e58a5 Keep a ticket's emails in one conversation: every client email about a ticket has the subject [TCK-123] and its subject and carries Message-ID, In-Reply-To and References, kept per ticket in ticket_mail_threads, and the email parser finds a reply's ticket by those headers first, then by the number in brackets with the prefix that ticket was given; one email goes to the contact with the watchers and colleagues copied in, switchable in Admin, Settings, Tickets; a client's reply by email, text or portal is passed on to the people following the ticket who weren't on it, by email only when it answers one of the ticket's emails; others in To and Cc on a client's or watcher's email become watchers, never your own domain or agents; the same email twice makes one ticket and a merged ticket's replies go to the ticket it went into; database 4.2.6; 26.12.3 changelog entries 2026-11-30 13:08:24 -05:00