Hi gurus
I have the following code that put together with all your help, It works fine sending email but once I want to send an attachment it just dont do it, no error is given,the application does not crash, just the email with the attachment not been sent or at least not been getting by the account.

as you can see I am using sbcglobal to send my emails

Thanks for any help gurus

Code:
Dim filetosend As New System.Web.Mail.MailAttachment("c:\file.txt")

        Try
            Dim emailaccount As New System.Web.Mail.MailMessage
            emailaccount.To = "[email protected]"
            emailaccount.From = "[email protected]"
            emailaccount.Body = " "
            emailaccount.Subject = "my attachment"
            emailaccount.Attachments.Add(filetosend)
            email.BodyFormat = Web.Mail.MailFormat.Text
            System.Web.Mail.SmtpMail.SmtpServer = "mail.sbcglobal.net"
            System.Web.Mail.SmtpMail.Send(emailaccount)
        Catch ex As Exception
            MsgBox(ex.Message)

        End Try