tmp/test-doxy-mms/MarekMailSystem/MarekMailSystem2SimpleWebUI/Default.aspx.cs

Go to the documentation of this file.
00001 using System;
00002 using System.Data;
00003 using System.Configuration;
00004 using System.Collections;
00005 using System.Web;
00006 using System.Web.Security;
00007 using System.Web.UI;
00008 using System.Web.UI.WebControls;
00009 using System.Web.UI.WebControls.WebParts;
00010 using System.Web.UI.HtmlControls;
00011 using MarekMailSystem2;
00012 
00013 namespace MarekMailSystem2SimpleWebUI
00014 {
00015     public partial class _Default : System.Web.UI.Page
00016     {
00017         protected void Page_Load(object sender, EventArgs e)
00018         {
00019 
00020         }
00021 
00022         protected void ButtonSend_Click(object sender, EventArgs e)
00023         {
00024             string to = TextBoxTo.Text;
00025             string subject = TextBoxSubject.Text;
00026             string body = TextBoxBody.Text;
00027             //TODO: uncomment this: EmailManager manager = new EmailManager();
00028             EmailManager manager = new EmailManager(
00029                 new DummyEmailTable("ErrorTable"),
00030                 new TestTemplateEmailTable(),
00031                 new SmtpEmailSender()
00032             );
00033             manager.Send(to, subject, body);
00034         }
00035     }
00036 }

Generated on Thu Oct 25 11:32:52 2007 for Marek Mail System by  doxygen 1.5.3-20071008