Question : .net question

Hi guys,

Just a quick .net question.

One of my pages have the following code:

string sendersName = Request.Form["sendersname"];
string sendersEmail = Request.Form["sendersemail"];

mailMsg.From       = sendersName + "<" + sendersEmail + ">";

This allows the user to type his name and email, and the email which goes out upon submitting the form is as from: "what the person entered"

If I want to hardcode the sendersName and sendersEmail do I just say: ?
string sendersName = "John Doe"
string sendersEmail = "[email protected]"


Answer : .net question

your catalog.Engine is trying to open a port. 50000 range is too high.
Try changing it to 4000
Random Solutions  
programming4us programming4us