»Dotnet Ads
»Message Boards
Message Boards
Dotnet Books
»Member Details
Register
Login
LogOut
Submit Code
Submit Jobs
Submit Projects
»Competition
Community
Winners
Prizes
Write For Us
Members
»Other Resources
Links
Dotnet Resources
|
This Code is for sending Email ( using smtp.gmail.com) With Attachments from Windows C# Application in VS 2005// This Code is for sending Email ( using smtp.gmail.com) With Attachments from Windows C# Application in VS 2005
// Also cover the Email Address Checking function using errorProvider
/// Design interface for send email
// Listing of : SendingEmails.Designer.cs Page
namespace SendingEmailsWinApplication
{
partial class SendingEmails
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.lblTo = new System.Windows.Forms.Label();
this.txtToEmail = new System.Windows.Forms.TextBox();
this.txtMessage = new System.Windows.Forms.RichTextBox();
this.btnSendEmail = new System.Windows.Forms.Button();
this.lblAttachments = new System.Windows.Forms.Label();
this.lstAttachments = new System.Windows.Forms.ListBox();
this.btnBrowse = new System.Windows.Forms.Button();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDial
|