In every action or proceeding, civil or criminal, for libel or slander, the defendant may, with his or her plea of not guilty or his answer, file a written notice that he or she will prove the truth of the publication charged as libelous, or of the words charged as slanderous, and in such case may, upon the trial, give the truth in evidence, without any special plea of justification or affirmative defense in his or her answer; and the truth, unless published or uttered from malicious motives, shall be sufficient defense to the person charged.
R.I. Gen. Laws § 9-6-9