>I wonder if any of you can help. I have written a class to email using Winsock based on what is at http://fox.wikis.com/wc.dll?Wiki~SendSmtpEmail~VFP The problem I am having is encoding the attachments. The below code encodes the attachment, when I use it locally with our smtp server it is okay, but then I use a linux smtp server and it comes back with an error 451 http://cr.yp.to/docs/smtplf.html > >When I look at the webpage with the error message it is moaning I am using LF on its own. When I change it to chr(13)+chr(10) or just chr(13), it appears to work but I never receive the email which I created > >Thank you for any help. If you want to see my entire work, let me know. >