Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

multi_plu

@multi_plu
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Sending Email With an Attachment
    M multi_plu

    Hi, Who can I send email with an attachment? This is the code witchh I use but it don't work. Something missing? Dim oMsg As System.Web.Mail.MailMessage = New System.Web.Mail.MailMessage() oMsg.From = "noone@nobody.com" oMsg.To = "someone@somewhere.com" oMsg.Subject = "Email with Attachment Demo" oMsg.Body = "This is the main body of the email" Dim oAttch As MailAttachment = New MailAttachment("C:\myattachment.zip") oMsg.Attachments.Add(oAttch) SmtpMail.Send(oMsg) Please help me! Thanx anyway.

    Visual Basic com help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups