Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
Available now!
Buy at Amazon US or
Buy at Amazon UK


» Windows API reference
» Webcam streaming in VB.NET
» Remoting with firewalls
» RSA from first principles
» Key & MouseLogger in .NET
» Networking Resource Kit for .NET
» Migrating VB6 Winsock to VB.NET
» Migrating C++ sockets to C#
» RFC Reference guide
» COM Reference guide
» WMI Reference guide
» SQL stored procedures
» TCP & UDP port reference
» NET Framework reference
» Ethernet Type codes
» MAC address assignments
» DLL entry point reference
» Boost SQL performance
» Free SMS UK
» Free SMS Ireland
» Free SMS South Africa
» Internet Explorer

Contact us

6.0 Email attachments, in C# and VB.NET.

Emails are one of the best forms of communication between an application and ‘disconnected’ users. Often it can be used to inform developers of system failures and exceptional events, which may occur at out-of-office hours. By using attachments, it may be possible to send log files, and binary dump information from a failed process to the respective developer.

This is an Email application that can be used to send emails with attachments. To use it, you must know your outgoing (SMTP) mail server address. This is usually in the form or where “” is the web address of your Internet service provider. 

To use this utility, type in a valid From address, a To address, the Outgoing mail server, and optionally, an attachment. You can then type in a message, and press ‘Send’


(Source code availabile in the book Network Programming in .NET (Buy at Amazon UK) (Buy at Amazon US) , Chapter 5, Example 4)

Page 2  Page 3  Page 4  Page 5  Page 6  Page 7  Page 8  Page 9  Page 10  Page 11  Page 12  Page 13 


Copyright 2020 Infinite Loop Ltd.