Hello,<BR>Can anyone tell me why this happens. i generate a text file using ASP. I user CDONTS to attach the file..but i seem to get an attachment which is junk..why does this happen?? is it something to do with MIME type??Here is my code<BR><BR>dim Objmail<BR>set Objmail=server.CreateObject("CDONTS.Newmail")<BR>O bjmail.From="Globus"<BR>Objmail.To="xyz.com"<BR>Ob jmail.Body="Registration text file"<BR>Objmail.AttachFile "c:inetpubwwwrootadmin
eg.txt","Reg",cdoEncodingBase64<BR>Objmail.MailFor mat=cdoMailFormatMIME<BR>Objmail.Send<BR>set ObjMail=nothing<BR><BR>Can someone help me out??