OTRS 3.0: Agent notes by email - notifications - otrs

My goal is that agents can attach notes to a ticket by email.
I have set up a second mail address ticketnotes#... which is filtered by a PostMaster Filter. In this way I can set the X-OTRS-[FollowUp-]ArticleType header to note-internal and X-OTRS-[FollowUp-]SenderType to agent and the email gets attached as agent note to the ticket mentioned in the subject. That works quite well. The problem is that the subsequent notifications emails are of the type Agent::FollowUp and not Agent::AddNote. That is confusing my agents.
Can someone tell me what I'm missing here?

Followups are when a user mails an email. You will want to set the header. Set this field: X-OTRS-FollowUp-ArticleType
see the code:
ArticleType => $GetParam{'X-OTRS-FollowUp-ArticleType'},
http://tesisitil.googlecode.com/svn/trunk/trunk/otrs-2.4.5/Kernel/System/PostMaster/FollowUp.pm
see also: http://forums.otterhub.org/viewtopic.php?f=61&t=4966

Related

Can I put a stackdriver label metric in a email notification?

I have a metric on Stackdriver, which filter my application logs. When a log pass by this filter, I want to send this logs by email, to fast act on this.
I created a policy in Stackdriver, added the metric and the label(which contains the information that I need) to the policy condition and added the email to notification chanels. But I receive emails with defaults title and body, not distinguing by label's metric type.
Is there any way to modify this email, adding the content of the label in title email?
Ps: I Tried put variables in the Documentation by this link https://cloud.google.com/monitoring/alerts/doc-variables#doc-vars , but not working.
I do believe the email notification you a receiving have GCP’s network configuring the email header, and therefore, the subject line. You can’t alter the header information from GCP and pipe in custom information, change headers or add complex scripts, etc.
Any variables you set will only affect the body of the message and not the title.
In my test, the alert email title and subject line cannot be altered. There is a “view details” link where it will bring you to your Stackdriver alert. The pertinent information on the alert, including the variables you mentioned, is in the body only.
If you want a programmatic way to set your notifications, you can look into webhooks which can be configured in addition to your email alert. There is a Google Blog post about this.

Processing Answers to emails sent by the system

I'm building a ticketsystem which creates tickets from incoming email automatically. The workflow look's like this:
User send's a email to support#yourname.xyz
The System creates a new ticket
A Team member answers to the ticket via a Dashboard
The User get a notification with the answer per email
Now I wan't to give the user the option to answer the ticket by reply to the email from step 4. But how can I assing the reply to a ticket?
Sometimes I saw solutions where the ticket id is stored in the header. The subject looks then like [#12345] Your Request But is there a better way to store the ticket id so the user can't see it? When I set a header variable on the email sent in Step 4, the varibale won't be included in the reply from the user.
Dose anyone have a soulution for this problem?
instead of prefixing the ticket ID to the 'Subject' field, create a new field in your out-bound mail. Just as you create a 'SendTo' field, also create a 'TicketID' field. This makes the value hidden unless the recipient looks in the mail's headers.
this will then also make it easier to search for replies by the ticket number.
I think I've understood your question, but if not, please clarify.

Vtiger : How we have to manage Email thread on Lead Module?

We are sending email to customer from Lead module and email sent to customer successfully from Vtiger. also we have integrate Mail Manager
in Vtiger.
i can also see that email in Sent box.
now, When Customer will give reply for that mail which i have sent from Lead module that will automatically appear in Lead Module Email Tab. right now i am getting am reply in Mail Box but i need log email in Lead section with particular customer replay.
Please help me if anyone solution..
It's by default functionality which is provided by Vtiger CRM.
We have configure Mail Scanner and select folder which we have to scan.
also, we have add condition or rule for this what we have to do if we can get result while scanning.
Please check status for MailScanner in vtiger_cron_task table. it must be 1.
also we have to set vtigercron.php in cronjob.
you can also run vtigercron.php in console on server with below command
php vtigercron.php
After success full scan you can get below message
Please Let me know if you have any question.

How would I know that email has been sent or not via SendGrid in Django

I am working on django and sending emails to multiple users at once. in the given scenario it only tells me that if it has sent or not.
I want to display the report of same page that how many emails has sent to user successfully and how many not. more if i want to get details why email has failed to sent.
How would i do such things via SENDGRID APIs.
There are two options that I know of:
Connect to SendGrid Event Webhooks and start parsing events for every email to flag ones that were not sent. I believe you can configure SendGrid to only send certain events, so if you're interested in bounces you don't need to worry about handling all events.
The second option is to use a service like sendwithus which will connect to your SendGrid account on your behalf and track all bounces/opens/clicks for you and provide a simpler API/UI to view the data. I believe they do this via SendGrid's webhooks, so it's effectively the same solution but written for you.
Happy to elaborate on either, I've used both before.

Should I Expect the Forward("my.username#gmail.com") Route to Email Me?

I have my catch_all() set to forward("my.username#gmail.com"). I expected that any emails caught by this route would be forwarded to my email address as actual emails, but I never received them. The mailgun logs state that the message was routed, accepted, and delivered successfully.
What am I missing?
The problem ended up being gmail... I was sending my test messages from my gmail account and had the forward setup to return to my gmail. Gmail filters out loopbacks. Sending the test message from a different account yielded the expected results
You are correct, setting the catch_all and forward filters and actions does just that!
Did you set up the MX records for your domain properly? If not, that might be the issue (check Domains in the control panel)
Check the logs at https://mailgun.com/cp/log to debug the issue!
Best