You may want to consider using a different program that works really easily. With SMTP Wizard ActiveX control, you can control the message much easier.
All you would do is set the body property to your text and then use the AddAttachment method to add a file. Then you could send it quickly and efficiently.
You can check it out @
http://www.SeekfordSolutions.com/Products/SMTPWizard/Many Foxpro users have found this control easy to use and of great help.
Brian Seekford
Seekford Solutions, Inc.http://www.SeekfordSolutions.comInternet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!