WPF stands for Windows Presentation Foundation, introduced with .Net 3.0 frameworks by Microsoft. Window presentation foundation provides us rich user interface and graphics which is not available with window application. To use this you can create a desktop application more attractive with more functionality. WPF basically uses the declarative language XAML (Extensible Application Markup Language). WPF application is combination of XAML and .Net language like C#/VB.Net etc.
Microsoft provides us functionality to send email using C# code. We can use System.Net and System.Net.Sockets namespace to send email. Basically these namespace is responsible for sending the data and receiving the data over internet. SMTP protocol is used for sending the emails. SMTP stands for Simple Mail Transfer Protocol. Today, I am going to show, how to create an WPF application to send emails using gmail. Gmail always uses SSL/TLS authentication, so to send email you have to enable SSL property for the port 587 or 465.
Pages : 1