emailConn.To.SetStringValue(toAddress);
emailConn.Subject.SetStringValue("This subject was set from code");
emailConn.Introduction = "This email was generated by code.";
emailConn.EmailAttachmentType = EmailAttachmentType.None;
Click OK to return to the Upload Form Template page. When you return to the Upload Form Template page after you verify a form template, you must browse for the template again.
emailConn.To.SetStringValue(toAddress);
emailConn.Subject.SetStringValue("This subject was set from code");
emailConn.Introduction = "This email was generated by code.";
emailConn.EmailAttachmentType = EmailAttachmentType.None;