Home > Software engineering >  VB.net, use the Mail. Email MailMessage when how to add attachments
VB.net, use the Mail. Email MailMessage when how to add attachments

Time:09-21

VB.net, the use of E-mail. The MailMessage can send Mail, but only the case of c #, in official help without VBnet
Please will knot a case, how to bring the attachment

CodePudding user response:

Dim the attach As.net. Mail. Attachment=New Net. Mail. The Attachment (" c: \ 123. TXT ")
Message. Attachments. The Add (attach)
I find the way