advertisement

Find Code  Advanced Search   

browse free vb code
Submit Code
ASP,  HTML, and XML
Database
Dates  and Math
Files  and Directories
Forms  and Controls
Lists,  Collections, and Arrays
Miscellaneous
Multimedia/Games
Office/VBA
Network/Internet
Registry
Screen/Graphics
String  Manipulation
System/API
Windows  2000/XP
VB.NET/ASP.NET



advertisement
Sending Email with Attachments (VB.NET/ASP.NET)

Author: M.V.Rajasekhar
Category: VB.NET/ASP.NET
Type: Snippets
Difficulty: Beginning

Version Compatibility:  Visual Basic.NET   ASP.NET  

More information: These are two functions to send email, both with optional parameters for attachment files. In the first the optional parameter is a string, so you can attach one file. In the second, it is an ArrayList, so that you can attach multiple files. If you are using this in a Windows forms project, you must add a reference to System.Web. See the comments for full details.

This code has been viewed 141231 times.

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


Declarations:

Code:

No Text Boxes

Sponsored Links


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers