You are here: Our Blog » Email2HTTP in ASP.NET

Email2HTTP in ASP.NET

By TT at 9pm, Feb 11, 2008


Tiernan OToole has written a great tutorial on getting started with Email2HTTP in ASP.NET.

Here's a code snippet from his tutorial:
public void ProcessRequest (HttpContext context) {
       string subject = "";
       string body = "";
       context.Response.Write(context.Request.Form.Keys.Count);
       context.Response.Write("<br>");
       subject = context.Request.Form.Get("subject");
       body = context.Request.Form.Get("body");
       context.Response.Write(s);
       context.Response.Write("<br>");
       context.Response.Write("Body: " + body);
       context.Response.Write("<br>");
       context.Response.Write("Subject: " + subject);
   }
Click here to read the full article.

Digg this

Copyright © 2006-2008 Trevose Consultants Ltd.
Contact us | Terms of Use