Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems encoding attachments
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01052303
Message ID:
01052667
Views:
8
David,

Why not use CDO 2000 http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,71acd54c-dcda-4dfa-b4ae-74854dd7947f.aspx ?


>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.
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform