At Wed, 25 Dec 2002 10:16:31 +1100, Louis Selvon wrote: > I am using LWP module from Perl to automatically login into a member area. > > The purpose of the form is to send an email to all my members. My problem is > that the contents (body) of the email that is coming from: > > my server (client) -> server where forms resides > > does now show the newlines, and returns. When I print out the contents I am > sending before posting to the form from my end, I can see that the email > message is formatted with the newlines, and returns as expected. > > At the other end the email that went to the members cannot detect the > returns/newlines.
you probably need to have CRLF pairs instead of simple newlines (\r\n instead of \n). are you able to dump the mail as it goes through the web server? it might even be the final mail client helpfully "wordwrapping" email; apparently some of them do that. -- - Gus -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
