http://www.aspsnippets.com/Articles/ASPNet-Send-email-with-Images-embedded-in-Rich-Text-HTML-body.aspx
how could i pass the username from a textbox to the email in this artcile?
Add Textbox on Page. Just pass its Text value In PopulateBody Method and Same code as Explained in Article.
HTML
<asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
.cs
string body = this.PopulateBody(this.txtUserName.Text.Trim(),
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.