I want to import e-mails in tickets.
While creating articles for e-mail in my test environment, I get the following error "Message: No SCALAR param in Bind!".
Code: Select all
Traceback (16336):
Module: Kernel::System::Ticket::Article::ArticleCreate (v1.327) Line: 264
Module: main::otrs_importMessage (unknown version) Line: 462
Code: Select all
my $otrsArticleID = $otrsTicket->ArticleCreate(
TicketID => $otrsId,
ArticleType => getArticleTypeForOtrs($msg),
SenderType => getSenderTypeForOtrs($msg),
From => $msg->sender->address,
Subject => decode_mimewords($msg->subject),
Body => $msgParts{body},
ContentType => $msgParts{bContentType},
HistoryType => getHistoryTypeForOtrs($msg),
HistoryComment => getArticleTypeForOtrs($msg)." from ".$msg->sender->address,
UserID => $OTRS_DEFAULT_OWNER_ID,
NoAgentNotify => 0,
AutoResponseType => "auto reply"
);
I've watched quickly the Kernel/System/DB.pm code, but I couldn't what raised that error.