OTRS how to enable auto complete for To field?

have you any idea how to remove autocomplete=off in text fields of AgentTicketCompose ?
i would like to use cached email addresses in browser instead of instant database request via AJAX and spent some time to find just the piece of code!

Thus you should open AgentCustomerSearch.dtl file and comment out only one string:
        

//    Core.Agent.CustomerSearch.Init($("#CustomerAutoComplete"), $QData{"ActiveAutoComplete"});


Done!

Similar: how to disable autocomplete  on logon page.

PV-WAVE Program And Function List in notepad++


Following instruction can be applied for first installation of Notepad++ on Windows 7.

- get keywords and FunctionList Plugin config here.
- unpack from archive into %APPDATA%\Notepad++\ directory
CAUTION!: it will be userDefineLang.xml and FunctionListRules.xml files overwritten!!

- OR -

you can find userDefineLang.xml file and insert    <UserLang name="pvwave" ext=""> section into it,
also find FunctionListRules.xml file and insert  <Language name="pvwave" imagelistpath=""> section.

Resulting screenshot:

Enjoy it!

HOWTO: send mail using perl on windows without sendmail

Q: How to send mail using perl on windows without sendmail?
A: You need Mail::Sender module and available SMTP Server

e.g.
Simple single part message
        $sender = new Mail::Sender {
                smtp => 'mail.yourISP.com',
                from => 'somebody@somewhere.com',
                on_errors => undef,
        }
                or die "Can't create the Mail::Sender object\n";
        $sender->Open({
                to => 'mama@home.org, papa@work.com',
                cc => 'somebody@somewhere.com',
                subject => 'Sorry, I\'ll come later.'
        })
                or die "Can't open the message: $sender->{'error_msg'}\n";
        $sender->SendLineEnc("I'm sorry, but thanks to the lusers,
                I'll come at 10pm at best.");
        $sender->SendLineEnc("\nHi, Jenda");
        $sender->Close()
                or die "Failed to send the message: $sender->{'error_msg'}\n";


read more here

yet another good option is Email::Sender module
usage:

  my $message = Email::MIME->create( ... );
  # produce an Email::Abstract compatible message object,
  # e.g. produced by Email::Simple, Email::MIME, Email::Stuff

  use Email::Sender::Simple qw(sendmail);
  use Email::Sender::Transport::SMTP qw();
  use Try::Tiny;

  try {
    sendmail(
      $message,
      {
        from => $SMTP_ENVELOPE_FROM_ADDRESS,
        transport => Email::Sender::Transport::SMTP->new({
            host => $SMTP_HOSTNAME,
            port => $SMTP_PORT,
        })
      }
    );
  } catch {
      warn "sending failed: $_";
  };

HOWTO: Repair Logitech M325 Mouse

FixIt says that you will find single screw under CE label. It isn't always true.