On 22-Oct-2003 micro brew wrote: > I am sending an email using mail() and it works fine. > But the formatting of the body of the email is wrong. > I want to format part of it in columns sort of like > this: > Name Quantity Price > > Can this be done neatly without using an html email? >
sprintf("%-25 %2d %9.2f\n", $name, $qty, $price); > Also what is the trick to making line returns display > properly in the email client? I've tried using \r\n > with no luck. I also tried \n. The characters show > in the email but no line breaks. Any suggestions? > double-quotes around your string? Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php