On Feb 22, 6:30 pm, "Andrew Badera" <
and...@badera.us> wrote:
> arrrr, cap'n, I believe I've spotted a sunken exception ahead! shivvvver me
> timbers! the Exception Pirates got jumped by the Newb Ninjas!
>
> On 2/22/08, Dhananjay <
dhananjay...@yahoo.co.in> wrote:
>
>
>
>
>
> > Hi all ,
>
> > I have notify.aspx page. On this page i have 10 textboxes with some
> > values coming from database.and i have also placed two buttons namely
> > send and save . when i click on send button, the mail is going to
> > target emailid(To).
> > but all the contents means textboxes values are not going with this
> > mail.
> > Only the parameters i have defiend in send method that parameters only
> > appears.
> > But i want all the 10 textboxes values to be sent to the email id that
> > means the web page(notify.aspx) control contents(textbox values).
>
> > this is my code which i have wrriten, please help me to solve the
> > problem or correct the code please.
>
> > Protected Sub btnSend_Click(ByVal sender As Object, ByVal e As
> > EventArgs)
>
> > Dim Mailmsg As New System.Net.Mail.MailMessage()
>
> > Dim MailServerName As String = "12.96.164.83"
> > Dim mSmtpClient As New Net.Mail.SmtpClient
> > mSmtpClient.Host = MailServerName
> > mSmtpClient.Port = 25
> > Mailmsg.IsBodyHtml = True
>
> > Try