المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : how to send mail with hyperlink and values



C# Programming
12-19-2009, 08:11 PM
Hi,

I'm trying to send an email that contains a link to verification the users email address.
My problem is how to combine the values inside the hyperlink/
This is what i wrote:

StringBuilder body = new StringBuilder();
body.Append("confirm the registration by pressing the link below....

");
body.Append(@" Click Here (http://something.aspx?userName=name&tempPass=password)");
msg.Body = body.ToString();

how i can replace the name and the password for ex. with-
txtName.text and txtPass.text

Please help me... http://www.barakasoft.com/script/Forums/Images/smiley_doh.gif