rem: KMMessage* msg; if (mTo.isEmpty()) return TRUE; msg = aMsg->createForward(); msg->setTo(mTo); if (!kernel->msgSender()->send(msg)) { debug("KMFilterActionForward: could not forward message (sending failed)"); return 1; }
add: msg->setHeaderField( "X-KMail-Transport", mTransport );
context: int KMFilterActionForward::process(KMMessage* aMsg, bool& /*stop*/){  KMMessage* msg;  if (mTo.isEmpty()) return TRUE;  msg = aMsg->createForward();  msg->setTo(mTo);  if (!kernel->msgSender()->send(msg))  {    debug("KMFilterActionForward: could not forward message (sending failed)");    return 1; // error: couldn't send  }  return -1;}