The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> authenticating smtp in form submission
Pluribus
post Apr 2 2010, 02:23 PM
Post #1


Member
***

Group: Members
Posts: 81
Joined: 6-February 09
Member No.: 7,737



Hi

I have created a form on my website but cannot get it to send to my email address. I think its because I need to configure it for smtp authentication but I am not entirely sure. Can someone help me?

Cheers

Ian

CODE
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link media="screen, projection" type="text/css" href="css/styles.css" rel="stylesheet" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<title>Ian D Williams Web Design - Contact - get in touch with us about a project</title>
<meta name="keywords" content="contact us, request a quote, request a quote, Web design, Web development, print design, graphic design, identity, photography" />
<meta name="description" content="Contact Ian D Williams Web Design about a project." />
</head>
<body id="top">
<div class="nav-wrapper">
    <div class="nav">
      <ul id="popup">
    <li><a class="services" href="index.html">Home</a></li>
            <li><a class="portfolio" href="portfolio.html">Portfolio</a></li>
            <li class="current"><a class="contact" href="contact.html">Contact</a></li>
            <li><a class="about" href="about.html">About</a></li>
      </ul>
        <div class="clear"></div><!--end clear-->
    </div><!--end nav-->
</div><!--end nav-wrapper-->
<div class="header-inner">
    <h1 class="contact">Like what you see? Think we could work together? Drop us a line.</h1>
</div>
<div class="content-wrapper">
    <div class="content-inner">
        <div class="main">
        <h2>Contact Us</h2>
        <p class="breadcrumbs"><a href="index.html" title="Home">Home</a><span> </span><a href="contact.html" title="Contact Us" >Contact Us</a></p>
        <p class="contact-intro">Whether you need a simple Web site or something slightly more involved, it all starts here. Feel free to <a href="mailto:ian@iandwilliams.com" title="Send us an email">email</a> us, call us, or fill out the Request a Quote form below if you have something specific in mind. We check our inboxes obsessively, so expect to hear back from us soon.</p>
        <p class="address"><strong>Ian D Williams </strong><br/>
        
        <h3>Request a Quote</h3>
        <p>The Request a Quote (RaQ) form is designed to give us a basic understanding of what you're hoping to accomplish in order to address any questions you may have and give you an idea of how much it would cost. Fill out as much information as you have now and we will get back to you within 24 hours.</p>
        <p>Required fields are marked with a <span class="required">*</span></p>
        <form method="post" action="/">



            <h3 id="summary"></h3>
            <div class="form-left">
                <label for="name">Your Name<span class="required">*</span></label>
                <input class="text" type="text" id="name" name="name" value="" length="10" />
            </div>
            <div class="form-right">
                <label for="company">Company Name<span class="required">*</span></label>
                <input class="text" type="text" id="company" name="company" value="" />
            </div>
            <div class="form-left">
                <label for="industry">Industry</label>
                <input class="text" type="text" id="industry" name="industry" value="" />
            </div>
            <div class="form-right">
                <label for="website">Web Site</label>
                <input class="text" type="text" id="website" name="website" value="" />
            </div>
            <div class="form-left">
                <label for="email">Email Address<span class="required">*</span></label>
                <input class="text" type="text" id="email" name="email" value="" />
            </div>
            <div class="form-right">
                <label for="phone">Phone Number</label>
                <input class="text" type="text" id="phone" name="phone" value="" />
            </div>
            <div class="clear"></div>
            <table class="checkboxes">
                <tr>
                    <th colspan="2">Services Needed <span class="instructions">(check all that apply)</span></th>
                </tr>
                <tr>
                    <td><input type="checkbox" name="services[]" id="web" value="web" /></td>
                    <td><label for="web">Web Design</label></td>
                </tr>
                <tr>
                    <td><input type="checkbox" name="services[]" id="print" value="print" /></td>
                    <td><label for="print">Print Design</label></td>
                </tr>
                <tr>
                    <td><input type="checkbox" name="services[]" id="identity" value="identity" /></td>
                    <td><label for="identity">Identity or Logo Design</label></td>
                </tr>
                <tr>
                    <td><input type="checkbox" name="services[]" id="ecommerce" value="ecommerce" /></td>
                    <td><label for="ecommerce">E-Commerce Package</label></td>
                </tr>
            </table>
            <table class="radio">
                 <tr>
                    <th colspan="2">Projected Budget <span class="instructions">(select one value)</span></th>
              </tr>
                <tr>
                    <td><input type="radio" name="budget[]" id="less500" value="less500" /></td>
                    <td><label for="less500">Less than £500</label></td>
                </tr>
                <tr>
                    <td><input type="radio" name="budget[]" id="500-1000" value="500-1000" /></td>
                    <td><label for="500-1000">£500–£1,000</label></td>
                </tr>
                <tr>
                    <td><input type="radio" name="budget[]" id="1000-2500" value="1000-2500" /></td>
                    <td><label for="1000-2500">£1,000–£2,500</label></td>
                </tr>
                <tr>
                    <td><input type="radio" name="budget[]" id="2500-5000" value="2500-5000" /></td>
                    <td><label for="2500-5000">£2,500–£5,000</label></td>
                </tr>
                <tr>
                    <td><input type="radio" name="budget[]" id="more5000" value="more5000" /></td>
                    <td><label for="more5000">More than £5,000</label></td>
                </tr>          
      </table>
            <div class="clear"></div>
            <label for="details">Additional Details<span class="required">*</span></label>
            <textarea name="details" id="details" rows="5" ></textarea>
            <p>Your information will be treated in the strictest confidence according to the Data Protection Act 1998.</p>
            <input class="submit" type="submit" name="submit" value="" />
        </form>  
        <a class="top" href="#" title="Return to the top of the page">Back To Top</a>
        </div><!--end portfolio-->
        <div class="sidebar">
            <div class="additional">
                <ul>
                        <li>
        <h3>
            <a class="web" title="Learn more about our Web design work" href="services/web.html">
                <span class="title">Web—</span>
                <span class="description">Full Service Web Design - incorporating your ideas into a functional site.</span>
            </a>
        </h3>
    </li>
                           <li>
        <h3>
            <a class="print" title="Learn more about our print work" href="services/print.html">
                <span class="title">Print—</span>
                <span class="description">Bespoke printing projects - small or large runs. You name it, we design it.</span>
            </a>
        </h3>
                  </li>
                  <li>
        <h3>
            <a class="identity" title="Learn how we can support your IT endeavours" href="services/support.html">
                <span class="title">Support—</span>
                <span class="description">From single user systems to multi server networks, we can support you.</span>
            </a>
        </h3>
                  </li>
                </ul>
            </div><!--end additional-->
        </div><!--end sidebar-->
        <div class="clear bottom"></div><!--end clear-->
    </div><!--end content-->
</div><!--end content-wrapper--><!--end footer-wrapper--><!--end links-wrapper-->
<script type="text/javascript" src="scripts/cufon.js"></script>
<script type="text/javascript" src="scripts/ChunkFive_400.font.js"></script>
<script type="text/javascript" src="css/jquery.min.js"></script>
<script type="text/javascript" src="scripts/custom.js"></script>
<script type="text/javascript">Cufon.replace('div.main h2, div.services h3');</script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-10898204-1");
pageTracker._trackPageview();
} catch(err) {}</script>
<script type="text/javascript" src="css/jquery.validate.min.js"></script>
<script type="text/javascript">
</script>
</body>
</html>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 2 2010, 02:43 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,731
Joined: 9-August 06
Member No.: 6



QUOTE(Pluribus @ Apr 2 2010, 09:23 PM) *

CODE

<form method="post" action="/">



Looks like you don't have a script that handles the form (assuming "/" isn't the URL to it).

http://htmlhelp.com/faq/html/forms.html#form-howto
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 07:56 AM