Sending Email with Attachments using VB.NET

Category:
C#, VB.NET, ASP.NET
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic.NET

More information:
The following snippet of code demonstrates sending email with attachments using VB.NET/ASP.NET.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: