Autopopulate the To on outbound e-mail ?

Moderator: crythias

Locked
sabalon
Znuny newbie
Posts: 2
Joined: 09 Dec 2015, 00:11
Znuny Version: free5
Real Name: Dan Newcombe
Company: Henry County Water Authority

Autopopulate the To on outbound e-mail ?

Post by sabalon »

I have been googling, digging through sysconfig and the code for hours, which means as soon as I post this, I'll find the answer :)

What I am trying to figure out how to do is set the To: field on the E-mail Outbound page for a ticket. The idea is when the agent is responding to the customer, it should auto-set the To field with the customer e-mail address for the ticket - one less thing for the agent to do, and 99%of the time, that is the person they will be e-mailing to, following up on the ticket.

In AgentTicketEmailOutbound.pm, I have found out how to get at that data, how to modify the subject and body, but I can not find any way to set the To: field from within the code. It really wants to use the javascript on that page to do so, and if I try to set obvious fields like ToRealname, Cc or others, it is ignored.

Any ideas from those not exhausted? :) Thanks

I am on version 5.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Autopopulate the To on outbound e-mail ?

Post by crythias »

I'm not sure how this isn't what we've been doing with "Reply/Response" for ages but if you must use a different button ...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
sabalon
Znuny newbie
Posts: 2
Joined: 09 Dec 2015, 00:11
Znuny Version: free5
Real Name: Dan Newcombe
Company: Henry County Water Authority

[Solved] Re: Autopopulate the To on outbound e-mail ?

Post by sabalon »

And this is the point where I realize it has been a long week.

I was using the phonecall outbound under communication, so naturally selected the email outbound option.

The reply was a drop-down list, which I erroneously assumed it would just send a pre-prepared email (the default "empty answer" should have been a clue).

But that is exactly what I was looking for. The other would be if you had to pull in an outside party and wanted to log that as well.

Well designed...I need sleep.

Thanks!
Locked