2013-05-08 1 views

답변

1

나는 그 문제에 대한 VB의 VBScript를 가진 경험이없는 ... 그러나 빠른 Google은 나를 준 this result - 충분히 간단 해 보입니다.

이 도움이 되길 바랍니다.

2

당신은 여기 좀 걸릴 수 있습니다 :

how to send an email with attachment in vb.net?

을 시도해보십시오 :

Dim oMsg As System.Web.Mail.MailMessage = New System.Web.Mail.MailMessage() 

oMsg.From = "[email protected]" 
oMsg.To = "[email protected]" 
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) 
관련 문제