Please Can anybody tell me how can one insert Text boxes in an email temaplate body.
I need 2 pairs of 3 text boxes below my email address which i will use to send information...

the email template is written in Html..

Recommended Answers

All 6 Replies

So, can you elaborate on the help that you are looking for? Are you just looking to finish working on the HTML template or do you need help with the server-side scripting that will process this template and send the mail message out?

provide your html template to see what you mean by pairs of textboxes below your email address.

The Main issue i want help with is the text boxes,

Supposedly,

for eg:

/-XXXXXXXXXXXXXXX
xxxxxxxxxxxxxxxxxxx
XXXXXXXXXXXXXXXXXXX-/

Textbox 1 textbox 2 Textbox 3

Textbox 1 Textbox 2 textbox 3

The above example is my template, So i need Text boxes as i have shown above below the template.

So when i send this Email i'd have to write my name,address and mobile number on the above three text boxes and i could leave the below three text boxes blank.
Now when the Reciever to whom i sent this email to recieves it,he'll recieve it in the same format.

Now when he decides to forward it, he Should be able to write His name address and his mobile number on the below three Text boxes which were left blank, which than he could forward it.

Now the Forwarded Email when recieved by the intended reciever should be of the same format,
The first sender who initiated the email process should have his name deleted while the sender who sent this email to that person(reciever) should have his name and other details in the above three text boxes while the below three textboxes should be left blank,,

It'll be a very big help if you could give me solution so a big Thanks..

This is the practice template i am using my main issue is with text boxes and not this...So i don't think this will help a lot

<html>
<title>My Template</title>
<body style="margin:0px 0px 0px 0px 0px; padding: 0px 0px 0px 0px; font-family: Arial, Verdana, sans-serif;">

<!-- Start Main Table -->
<table width="100%" height="100" cellpadding="0" style="padding: 20px 0px 20px 0px" bgcolor="#ececec">
<tr align="center">
    <td>
        <!-- Start Header -->
        <table width="562 cellpadding="0" cellspacing="0" bdcolor="#FFFFFF" style="color:#000000; font-weight: bold; padding:16px 0px 16px 1px; font-family: Arial, Verdana, Sans-serif;">
           <tr>
               <td>
                   <span stryle="font-size: 35px;">My Template</span>
               </td>
                    <td style="font-weight:normal; font-size:11px;">
                    <span style="font-weight:bold;">Published</span>
                    <br>September, 5th 2013
                </td>
          </tr>
</table>
<!-- End Header -->

<!-- Start Ribbon -->

<table cellpading="0" cellspacing="0" width="562" bgcolor="#202020">
<tr>
       <td width="300" height ="203" bgcolor="#202020" style="font-family: Arial, Verdana, sans-serif; padding: 10px 25px 0px 15px; font-size: 12 px; color:#FFFFFF;">
<span style="text-transform: uppercase; font-size: 30px; font-weight:bold;">Windows 8 offers</span><br><br> 
<span style="font-weight:bold;width:525 px;"> Released just last week in Developers Preview mode, Windows 8 already contains more than 300 new features.</span><br><br>
<span style="width: 525 px;"> At its Build developers conference, Microsoft pointed to plans to keep adding more new capabilities until Windows 8 evolves into a shipping product.</span><br><br>
<a href="#"><img src="C:\Users\Punit\Documents\Template\images\tick.png" width="80" height="33" alt="tick" border="0"></a>
</td>
</tr>
<tr>
<td bgcolor="#202020" width="562" height="13">
</tr>
</table>
<!-- End ribbon -->

<!-- Start Title -->
<table cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFFFF" height="20" width="562"></td>
<tr>
<table>

<table cellpadding="0" cellspacing="0" width="562" bgcolor="#FFFFFF">
<tr>
<td bgcolor="#202020" style="color:#FFFFFF; padding: 10px 0px 10px 16px; font-family: Arial, Verdana, sans-serif; font-size: 12px; font-weight: bold">
Latest Features
</td>
<td width="381" height="20" style="background-color: #FFFFFF"></td>
<tr>
</table>
<!--End title>

<!-- Start Features 1-->
<table cellpadding="0" cellspacing="0" width="562" style="padding: 25px 0px 0px 15px" bgcolor="#FFFFFF">
<tr>
<td>
<a href="#" title="Feature One"><img src="C:\Users\Punit\Documents\Template\images\wind.png" alt="wind" border="0" /></a>
</td>
<td valign="top" style="font-family:Arial, Verdana, sans-serif; padding-left; 13px; line-height: 17px; color: #222222">
<span style="font-size: 17px; font-weight:bold;">Feature one</span><br><br>
<span style="padding-right: 10px; font-size: 12px; color: #222222;">Microsoft pointed to plans to keep adding more new capabilities until Windows 8 evolves into a shipping product. Which of the existing features are most important to get to know. <a href="#" style="font-weight:bold; color:#000000; text-decoration: underline;"> View Online</a>
</span>
</td>
</tr>
</table>
<!-- End Feature 1-->

<form>
First name: <input type="text" name="name">
Last name: <input type="text" name="address">
mobile number: <input type="text" name="Mobno"><br>
First name: <input type="text" name="name">
Last name: <input type="text" name="address">
mobile number: <input type="text" name="Mobno">

</form>


<!-- Start Features 2-->
<table cellpadding="0" cellspacing="0" width="562" style="padding: 25px 0px 25px 15px" bgcolor="#FFFFFF">
<tr>
<td>
<a href="#" title="Feature two"><img src="C:\Users\Punit\Documents\Template\images\wind.png" alt="wind" border="0" /></a>
</td>
<td valign="top" style="font-family:Arial, Verdana, sans-serif; padding-left; 13px; line-height: 17px; color: #222222">
<span style="font-size: 17px; font-weight:bold;">Feature one</span><br><br>
<span style="padding-right: 10px; font-size: 12px; color: #222222;">Microsoft pointed to plans to keep adding more new capabilities until Windows 8 evolves into a shipping product. Which of the existing features are most important to get to know. <a href="#" style="font-weight:bold; color:#000000; text-decoration: underline;"> View Online</a>
</span>
</td>
</tr>
</table>
<!-- End Feature 2-->

<!-- Start footer -->

<table cellpadding="0" cellspacing="0" width="562" height="100">

<tr>
<td bgcolor="#202020" height="20"></td>
</tr>
<tr>
<td bgcolor="#202020" style="font-size: 11px; font-family: Arial, Verdana, sans-serif; color:#FFFFFF;padding-left:15px; width:350px">
Don't forget to check out<a href="http://microsoft.com" style="font-weight:bold; color:#FFFFFF;"windows 8</a> <br> the new features as it comes along in our Site
And follow us on twitter an facebook for constant news and updates <br>

To unsubscribe from this list.<a href="#" style="font-weight:bold; color:#FFFFFF;"> Click Here</a><br>
</td>
</tr>
<tr>
<td bgcolor="#202020" height="20"></td>
</tr>

<!-- end footer>


</td>
</tr>

So, i am not really sure based on your last response what you actually need help with. Do you simply need help with formatting/positioning the textboxes that you include in your code? If so, what do you want the position to look like? Its not clear what you mean in your original post.

First name: <input type="text" name="name">
Last name: <input type="text" name="address">
mobile number: <input type="text" name="Mobno"><br>
First name: <input type="text" name="name">
Last name: <input type="text" name="address">
mobile number: <input type="text" name="Mobno">

If you need help with the process you described about forwarding the message and having those changes occur, that's a whole different thing there.

i get the above code you've written,and the placement is not an issue,,

but yes the process,
that is the main issue,,

how can one do that..?
could you please just elaborate on it,

and Again....thanks a lot..!

The first sender who initiated the email process should have his name deleted while the sender who sent this email to that person(reciever) should have his name and other details in the above three text boxes while the below three textboxes should be left blank,,

I cant think of how to accomplish this client side. There could be dozens of common mail applications and you would have no way to determine is reading their mail using an app or over the web so how would this be automated, controling the mail flow, etc...

If you send out a message to your users and have them visit a website in which you control, you would then control the flow of the process. When a user hits the submit button, you can capture the information, send out a message, fill in textboxes, etc...

... unless i'm not fully understanding your objectives..

Building a website was my first thought too.

but this mail is gonna be used for diffrent purposes.

So what really is important is that i get the pairs of text boxes below and than should be able to send that data which the sender is gonna write along with the template.

The mails can be uploaded through site such as Mailchimp.com and campaignmonitor.com which allow you to upload html emails you have made and send it to a host of people,

but than how to include text boxes in them is an issue.

especially since when the sender wants to forward this mail he should be able to write his name on the text box and than forward it,along with the data written in the text box.

m tryin to search a way to do that

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.