I sent out the invoices without a text/plain part, just the pdf. It turns out that kmail gets confused about that and refuses to display the pdf, even though it's there. Sorry about that. I will fix my script. Laura Creighton