Is there a limit to the amount of text you can write in an HTML e-mail sent using CFMAIL? variables.Invoice forms the body of the e-mail. If it goes beyond about 990 bytes, you get the e-mail, but it's blank. Less than that and the e-mail is fine. And if you output the e-mails to the screen, they are OK. Any ideas? The flow is this... CFQUERY builds a list of customers Loop through the query For each iteration, run CF_Invoice for that customer CF_Invoice finds out what they should be billed and calls CF_GenerateInvoice CF_GenerateInvoice builds a webpage, "variables.Invoice", returning it to CF_Invoice CF_Invoice sends an HTML e-mail with the "variables.Invoice" as the body We've tried using different mail servers and making sure the initial query only returns one record so the loop is only run once, always with the same result. BTW, if it's a bug, who should be told? Thanks for any advice -- Aidan Whitehall <[EMAIL PROTECTED]> Netshopper UK Ltd Advanced Web Solutions & Services http://www.netshopperuk.com/ Telephone +44 (01744) 648650 Fax +44 (01744) 648651 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

