<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="TestSendmail.aspx.cs" Inherits="ICDAS_3_0.TestSendmail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CSS" runat="server">
    <style type="text/css">
        .style1 {
            width: 52%;
            font-size: 12px;
            font-family: Verdana, Arial, Helvetica, sans-serif;
            height: 277px;
        }

        .style2 {
            text-align: center;
            font-size: 12px;
            font-family: Verdana, Arial, Helvetica, sans-serif;
        }

        .style3 {
            width: 111px;
            font-size: 12px;
            font-family: Verdana, Arial, Helvetica, sans-serif;
        }

        .fontclass {
            font-size: 12px;
            font-family: Verdana, Arial, Helvetica, sans-serif;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">

    <div>
        <table class="style1" align="center">
            <tr>
                <td class="style3">From Email ID
                </td>
                <td>
                    <asp:TextBox ID="txtFromEmailId" Text="poornima@dreamsoftindia.com" runat="server"
                        Width="426px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">SMTP Address
                </td>
                <td>
                    <asp:TextBox ID="txtSMTP" Text="mail.dreamsoftindia.com" runat="server" Width="426px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">PORT
                </td>
                <td>
                    <asp:TextBox ID="txtPort" Text="25" runat="server" Width="426px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">To Email ID
                </td>
                <td>
                    <asp:TextBox ID="txtToEmailId" Text="Hiren@dreamsoftindia.com" runat="server" Width="426px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">CC Email ID
                </td>
                <td>
                    <asp:TextBox ID="txtCCEmailID" Text="Hiren@dreamsoftindia.com" runat="server" Width="426px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">User Name
                </td>
                <td>
                    <asp:TextBox ID="txtUserName" Text="poornima-dreamsoftindia" runat="server" Width="426px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">Password
                </td>
                <td>
                    <asp:TextBox ID="txtPassword" Text="poornima13" runat="server" Width="426px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">Authentication
                </td>
                <td>
                    <asp:RadioButtonList ID="rbtAuthentication" CssClass="fontclass" RepeatDirection="Horizontal"
                        runat="server">
                        <asp:ListItem Selected="True">YES</asp:ListItem>
                        <asp:ListItem>NO</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="style3">EnableSsl
                </td>
                <td>
                    <asp:RadioButtonList ID="rbtEnableSsl" CssClass="fontclass" RepeatDirection="Horizontal"
                        runat="server">
                        <asp:ListItem Selected="True" Value="T" Text="True"></asp:ListItem>
                        <asp:ListItem Value="F" Text="False"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="style3">Subject
                </td>
                <td>
                    <asp:TextBox ID="txtSubject" Text="TEST Email from  Support" runat="server" Width="426px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">Message
                </td>
                <td>
                    <asp:TextBox ID="txtMessage" Rows="4" TextMode="MultiLine" Text="TEST Message from IMS Support"
                        runat="server" Width="426px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2" colspan="2"></td>
            </tr>
            <tr>
                <td class="style2" colspan="2">
                    <asp:Button ID="btnSend" runat="server" Style="text-align: center" Text="SEND" OnClick="btnSend_Click" />
                </td>
            </tr>
            <tr>
                <td class="style2" colspan="2" style="height: 5px;"></td>
            </tr>
            <tr>
                <td class="style2" colspan="2">
                    <asp:Label ID="lblMSg" ForeColor="Red" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
