I recommend that you follow Zamenhof and preferuse por or pri. This is why:
Mi ne dankis lin por la donaco pro la indigno de mia edzino.
Firstly, the ostensible reason may differ from the real reason.
Secondly, simply adding ne creates an ambiguity: are you giving the reason you didn't thank, or the reason you might have been expected to thank?