Extra characters at end of attachment - WeOnlyDo Discussion board

Extra characters at end of attachment (wodSFTP / wodSFTP.NET / wodSFTPdll)

by SSanders, Wednesday, November 22, 2006, 19:53 (6576 days ago)

Using wodSMTP COM in VB6, I am getting extra characters appended to my attachments (ASCII comma separated files). Each message has only one attachment.

====== code ==========
Dim MsgPart As SmtpMsg
Dim mFileName As String

mFileName = fso.GetFileName(mgMessage.Attachment)
Set MsgPart = SMTPCom.Message.Attach(mgMessage.Attachment)
MsgPart.Headers.Add Content-Type , multipart/mixed
MsgPart.Headers.Add Content-Disposition , _
attachment; filename= & mFileName &
====== /code ==========

Here's a sample of what is ending up added to the end of my attachment: Jkiç]º /xÍ{wMv

Any ideas about what could be causing the problem?
Thanks!



Complete thread: