Search results for query: *

  1. N

    Frustrating attachment error!!

    ok, u have to upload the file to the server first... Dim file1 As String = System.IO.Path.Combine(System.IO.Path.GetTempPath, System.IO.Path.GetFileName(dialog1.Value)) dialog1.PostedFile().SaveAs(file1) mailattachment1= new mail.mailattachment(file1)
  2. N

    Frustrating attachment error!!

    Ok, so i'm doing vb.net web page and i am sending an email via smtp. All works fine. Then i added an html control for file dialog and it works fine if i choose say "c:\test.doc" however, if i choose say "c:\documents and settings\desktop\Nicholasp27\test.doc" then it gives an "invalid mail...
Back
Top