SMTPSocket - removing bare line-feeds -djb

Derek Brans brans at nerdonawire.com
Fri Feb 14 18:44:16 UTC 2003


Do this to the string data before sending it:
String>>withSqueakLineEndings


On Wednesday, February 12, 2003, at 12:03 PM, Derek Brans wrote:

> Is there a simple function that rectifies a string to remove its bare 
> line feeds?
>
> I'm getting an error from my local smtp server:
> 451 see http://pobox.com/~djb/docs/smtplf.html
> Which tells me I have bare line feeds in my data.
> The data, which is text, is coming from a http post through Seaside and 
> Komanche.
>
> Thank you in advance,
> Derek
>
> Nerd on a Wire: Web and Information Solutions
> Website Design - Database Systems - Site Hosting
> 604.874.6463
> mailto:info at nerdonawire.com
> For more information, visit http://nerdonawire.com
>
>
>
>
Nerd on a Wire: Web and Information Solutions
Website Design - Database Systems - Site Hosting
604.874.6463
mailto:info at nerdonawire.com
For more information, visit http://nerdonawire.com



More information about the Squeak-dev mailing list