HawaiiDragon
asked on
Sending a form in an email
Hello all I am trying to send a form via email I have a dll that does this and will accept HTML code but I am having a problem with it. I need the form to send EXACTLY as it has been filled out and its giving me are you ready????? 311 errors. I am not sure if its becasue of the HTML tags or what but if someone could help it would be appreciated.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Jenzabar.Portal.Framework.Web.UI;
using ParkSendEmail_v1_11_16_2007;
namespace PARK_FinAid_Portlet_V1_3_23_11.Views.Main
{
public partial class Pagel1 : PortletViewBase
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
ParkSendEmail supersender = new ParkSendEmail();
supersender.bolHTML = true;
supersender.strToEmail = "rshier@park.edu";
supersender.strSubject = " Satisfactory Academic Progress (SAP) Appeal Form";
supersender.strFromEmail = TextBox6.Text;
supersender.strBodyEmail =<span class="style7"> <strong>Satisfactory Academic Progress
(SAP) Appeal Form</strong></span><br />
<br />
<strong>Complete this form and submit documentation needed to support your
appeal.</strong><br />
<br />
<table border="1" class="style2">
<tr>
<td class="style3">
Name:</td>
<td>
<asp:TextBox ID="TextBox1" runat="server" Width="550px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style3">
Student ID:</td>
<td>
<asp:TextBox ID="TextBox2" runat="server" Width="550px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style3">
Campus Attending:</td>
<td bgcolor="White">
<asp:TextBox ID="TextBox3" runat="server" Width="550px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style3">
Current Address:</td>
<td>
<asp:TextBox ID="TextBox4" runat="server" Width="550px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style3">
Telephone:</td>
<td>
<asp:TextBox ID="TextBox5" runat="server" Width="550px"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style3">
Email Address:</td>
<td>
<asp:TextBox ID="TextBox6" runat="server" Width="550px"></asp:TextBox>
</td>
</tr>
</table>
<table border="1" class="style2">
<tr>
<td>
Please be specific in explaining why the minimum academic hours and/or grade
points were not earned. Indicate the mitigating circumstances that have
contributed to your inability to maintain SAP by checking the categories below
that apply to you. You must describe in detail and be able to document your
circumstances.<strong> FAILURE TO SUBSTANTIATE YOUR CIRCUMSTANCES WILL RESULT IN
YOUR APPEAL BEING DENIED FOR LACK OF DOCUMENTATION.</strong></td>
</tr>
</table>
<table class="style4">
<tr>
<td>
o <strong>Serious illness or injury to student or immediate family member</strong>
(parent, spouse, sibling or child) that required extended recovery time. (attach
a statement from the physician that explains the nature and dates of the illness
or injury o <strong>Death of an immediate family member.</strong> Attach a
photocopy of death certificate and include the name of the deceased and
relationship to you<br />
o <strong>Significant trauma in student’s life that impaired the student’s
emotional and/or physical health.</strong> (Provide supporting documentation
from a third party, such as a physician, social worker, police, etc.)<br />
o <strong>Other unexpected documented circumstances beyond the control of the
student.</strong> (Explain in detail with dates of the unexpected circumstance
with documentation.</td>
</tr>
</table>
<table class="style5">
<tr>
<td>
<strong>Please describe in detail the basis for your appeal. In addition
indicate how you plan to be successful in future terms:</strong></td>
</tr>
</table>
<table class="style4">
<tr>
<td class="style6">
<asp:TextBox ID="TextBox7" runat="server" Height="93px" TextMode="MultiLine"
Width="719px"></asp:TextBox>
</td>
</tr>
</table>
<strong>Note:</strong> A response email will be generated after your appeal and
documentation are received and evaluated. Please fax, email, or mail the
documentation to support your appeal. Please note in the appeal which method you
will use and send to one of the following:<br />
• Fax # <br />
• Email <a href="mailto:finaidappeal@park.edu">finaidappeal@park.edu</a><br />
• Mail to , Student Financial Services, MO 64152.<br />
Your documentation should be submitted within <strong>7 days</strong> after
submission of the appeal.
<br />
<br />
<asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>
(name) certify that to the best of my knowledge all the information in this
request is correct and complete and all colleges, schools, or organizations
indicated have my permission to verify any information furnished herein on this
date.<br />
<br />
<asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>
(today). I understand that I must be a degree-seeking student to receive
financial aid.
<br />
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="I agree with the above statement" />
<br />
<br />
does not discriminate on the basis of sex, age, race, creed,
color, and disability, national or ethnic origin in the administration of
education and admission policies, financial assistance, athletic, and other
school-related programs. If you have comments or questions about this policy as
it applies. </div>;
supersender.funSendEmail();
}
}
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER