I have been wracking my brain for what seems like DAYS now trying to find a way to do this.
My company uses another companies webmail product to serve our customers email and we need to make a small feature upgrade and the company who created it is asking a price we just don't see as reality because it is maybe 15 lines of code tops(Let's just say it's about $100 a line).
It is ASP.NET files Written in C#. I am an ASP only guy because I am really new to programming.
Is there any way to incorporate some ASP style code into this or could someone covert my code so I can just pop it into the pages. I cannot access the code view of these files.
Here's the code as it would be written in ASP(All I know.):
<%
' This section goes on the login page and only acts when
' it sees the mte querystring. The data querystring is
' a string that will come across like
' "mailto:
[email protected]" minus the quotes.
If Request.Querystring("mte") <> "" then
startOf = InStr(Request.QueryString("data"), ":") + 1
strData = MID(Request.QueryString("data"), startOf)
Session("mte") = Request.QueryString("mte")
Session("data") = strData
end If %>
<%
' This section goes on the first page once they login.
If Session("mte") <> "" then
Response.Redirect("http://www.someisp.com/webmail/newmessage.aspx")
End If %>
<%
' This section goes on the new message editor where a value of TO:
' would go.
If Session("mte") <> "" then
Response.Write(Session("data"))
End If
%>
Any help would be appreciated.
Jon
Thank you,
Jon Turlington