Link to home
Start Free TrialLog in
Avatar of VBBRett
VBBRett

asked on

How do you send email forms in asp.net with Visual Basic?

I want to have an email form being sent with asp.net.  How do I do that in visual basic from a Web Form?
ASKER CERTIFIED SOLUTION
Avatar of Jarrod
Jarrod
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of VBBRett
VBBRett

ASKER

How would I tie that code to this?  Please see the code below:

<div id="content">
                  <div class="right-top">
                  <div class="left-bot">
                      <div class="right-bot">
                          <div class="indent">
                                <div class="container">
                                  <div class="column-1">                                    
                                    <div class="indent4">
                                          <div class="title"><img src="images/page5-title1.gif" alt="" /></div>
                                        <div class="unline2">
                                              <div class="container">
                                                       <img src="images/page5-img1.jpg" class="imgindent" alt="" />
                                                <strong class="strong1">KinsleyStreet Investors</strong>
                                                <br />
                                               
                                                <p>                                                
                                                E-mail: <a href="mailto:dstreet@kinsleystreet.com?Subject=Contact Us">dstreet@kinsleystreet.com</a><br />
                                                Phone: <b>316-258-1653</b>
                                                </p>
                                                 </div>
                                        </div>
                                        <div class="container"><a href="#" class="link"><span><strong>read more</strong></span></a></div>
                                    </div>
                                    <div class="box">
                                          <div class="box-left-top">
                                            <div class="box-right-top">
                                                <div class="box-left-bot">
                                                    <div class="box-right-bot">
                                                          <div class="box-indent">
                                                              <div class="title"><img src="images/page5-title2.gif" alt="" /></div>
                                                            <form action="" method="get" enctype="multipart/form-data" id="ContactForm">
                                                                  <div class="unline">
                                                                    <div class="container">
                                                                        <div class="col-1">
                                                                            Enter Your Name:
                                                                            <label><asp:TextBox ID="txtname" runat="server"></asp:TextBox></label>
                                                                            Enter Your Phone:
                                                                            <label><asp:TextBox ID="txtphone" runat="server"></asp:TextBox></label>
                                                                            Enter Your E-mail:
                                                                            <label><asp:TextBox ID="txtemail" runat="server"></asp:TextBox></label>
                                                                            Enter Your State:
                                                                            <label><asp:TextBox ID="txtstate" runat="server"></asp:TextBox></label>
                                                                        </div>
                                                                        <div class="col-2">
                                                                            Enter Your Message:<br />
                                                                            <textarea cols="20" rows="3" name="message"></textarea>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="container">                                                                    
                                                                    <a href="#" class="link" onclick="document.getElementById('ContactForm').submit()"><span><strong>submit</strong></span></a>
                                                                    <a href="#" class="link margin1" onclick="document.getElementById('ContactForm').reset()"><span><strong>reset</strong></span></a>
                                                                </div>
SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial