Results 1 to 4 of 4

Thread: Mailing Trouble please help

  1. #1
    Join Date
    Apr 2007
    Posts
    23
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Mailing Trouble please help

    please tell me how send datas from a form via email,

    it should not use any mail clint

    please help

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Code:
    it should not use any mail clint
    Not even SMPT (default mail server, comes with most hosting packages)?
    - Mike

  3. #3
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Try searching the PHP forums for "mail form" or take a look at this thread:
    http://www.dynamicdrive.com/forums/s...ight=mail+form
    Please note, in order to send mail using a contact form and PHP, you must have a mail server (or a server that has the Simple Mail Transfer Protocal (SMTP) installed).

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  4. #4
    Join Date
    Apr 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help needed urgently

    this is acode of a form which i just want to send to ppl who can fill in the information and then that information should come to me via e-mail and also to the chosen newpaper selected in the radio button.
    plz help...it's very important.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html><head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--div#canned a {text-decoration: none;}
    div#canned a span {display: none;}
    div#canned a:hover {color: #411; background: #ffffcc;
    double white;}
    div#canned a:hover span {display: block;
    position: absolute; top: 320px; left: -2; width: 320px;
    padding: 15px; margin: 10px; z-index: 100;
    color: black; background: #ffffcc; text-decoration: none;
    font: 12px Arial, sans-serif; text-align: left;}
    --></style>
    <script language="javascript">
    var paper_status = new Array();
    var canned_letters = new Array();
    </script>
    <script language="javascript" src="jsrsClient.js"></script>
    <script language="javascript" src="ltetools.js"></script>
    </script></head>
    <body onload="initialize()">
    <form name="mainForm" method="POST" action="process_lte.pl">
    <input value="71" name="lte_campaign_id" type="hidden">
    <table cellspacing=0 cellpadding=0><tr>
    <td><style type="text/css">
    <!--.style6 {color: #990000}-->
    </style>
    <font size="+1">Step 1: Select a newpaper</font>
    <p></p><table cellspadding="0" cellspacing="0" width="300">
    <!--* DOCUMENTATION *usage:For each newspaper, there is an entry. p#radio is the id for each according to its position in the list. The value is the db id for the paper. The list of canned letters currently available (by position, which is also the id) is provided as the argument to ConfigureCanned.-->
    <tbody><tr><td colspan="2"></td><td><b>Local Papers</b></td><td align="right">Circulation</td><td align="right">&nbsp;&nbsp;# Sent</td></tr>
    <tr><td colspan="5"> <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody><tr><td background="../images/dots-horiz.png" height="1"></td></tr>
    </tbody></table></td></tr>
    <tr><td valign="top"> <input value="2202510002" name="paper" onclick="canned('2202510002')" id="paper.2202510002" type="radio"></td>
    <td><font color="red"></font></td> <td>Boston Globe
    </td> <td align="right">448,817</td> <td align="right">80</td></tr>
    <tr bgcolor="eeeeee">
    <td valign="top"> <input value="2202520008" name="paper" onclick="canned('2202520008')" id="paper.2202520008" type="radio"></td>
    <td><font color="red"></font></td> <td>Boston Phoenix
    </td> <td align="right">253,000</td> <td align="right">8</td></tr>
    <tr> <td valign="top"> <input value="2202510001" name="paper" onclick="canned('2202510001')" id="paper.2202510001" type="radio"></td>
    <td><font color="red"></font></td> <td>The Boston Herald
    </td> <td align="right">247,885</td> <td align="right">17</td></tr>
    <tr bgcolor="eeeeee">
    <td valign="top"> <input value="0000011433" name="paper" onclick="canned('0000011433')" id="paper.0000011433" type="radio"></td>
    <td><font color="red"></font></td> <td>Boston Metro
    </td> <td align="right">166,298</td> <td align="right">8</td></tr>
    <tr><td background="../images/spacer.gif" height="15"></td></tr>
    <tr><td colspan="2"></td><td><b>Regional Papers</b></td><td align="right">Circulation</td><td align="right">&nbsp;&nbsp;# Sent</td></tr>
    <tr> <td colspan="5"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr><td background="../images/dots-horiz.png" height="1"></td></tr></tbody></table></td></tr>
    <tr><td valign="top"> <input value="0700310002" name="paper" onclick="canned('0700310002')" id="paper.0700310002" type="radio"></td>
    <td><font color="red"></font></td> <td>The Hartford Courant
    </td> <td align="right">241,635</td> <td align="right">26</td></tr>
    <tr bgcolor="eeeeee"> <td valign="top"> <input value="4000710002" name="paper" onclick="canned('4000710002')" id="paper.4000710002" type="radio"></td>
    <td><font color="red"></font></td> <td>The Providence Journal
    </td> <td align="right">165,628</td> <td align="right">16</td></tr>
    <tr><td valign="top"> <input value="2299910003" name="paper" onclick="canned('2299910003')" id="paper.2299910003" type="radio"></td>
    <td><font color="red"></font></td> <td>The Telegram &amp; Gazette
    </td> <td align="right">103,477</td> <td align="right">7</td></tr>
    <tr bgcolor="eeeeee"> <td valign="top"> <input value="2201310001" name="paper" onclick="canned('2201310001')" id="paper.2201310001" type="radio"></td>
    <td><font color="red"></font></td> <td>The Republican and The Republican Sunday</td> <td align="right">91,713</td> <td align="right">13 </td></tr>
    <tr><td background="../images/spacer.gif" height="15"></td></tr>
    <tr><td colspan="2"></td><td><b>National Papers</b></td><td align="right">Circulation</td><td align="right">&nbsp;&nbsp;# Sent</td></tr>
    <tr><td colspan="5"> <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody><tr><td background="../images/dots-horiz.png" height="1"></td></tr></tbody></table></td></tr>
    <tr> <td valign="top"> <input value="4701310003" name="paper" onclick="canned('4701310003')" id="paper.4701310003" type="radio"></td>
    <td><font color="red"></font></td> <td>USA Today
    </td> <td align="right">2,602,556</td> <td align="right">889</td></tr>
    <tr bgcolor="eeeeee">
    <td valign="top"> <input value="3306110028" name="paper" onclick="canned('3306110028')" id="paper.3306110028" type="radio"></td>
    <td><font color="red"></font></td> <td>The Wall Street Journal
    </td> <td align="right">1,820,600</td> <td align="right">444</td></tr>
    <tr> <td valign="top"> <input value="3306110023" name="paper" onclick="canned('3306110023')" id="paper.3306110023" type="radio"></td>
    <td><font color="red"></font></td> <td>The New York Times
    </td> <td align="right">1,130,740</td> <td align="right">770</td></tr>
    <tr bgcolor="eeeeee">
    <td valign="top"> <input value="0599910004" name="paper" onclick="canned('0599910004')" id="paper.0599910004" type="radio"></td>
    <td><font color="red"></font></td> <td>Los Angeles Times
    </td> <td align="right">1,014,044</td> <td align="right">569</td></tr>
    <tr> <td valign="top"> <input value="0900110008" name="paper" onclick="canned('0900110008')" id="paper.0900110008" type="radio"></td>
    <td><font color="red"></font></td> <td>Washington Post
    </td> <td align="right">796,367</td> <td align="right">543</td></tr>
    <tr><td background="../images/spacer.gif" height="15"></td></tr> </tbody></table>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody><tr><td background="../images/spacer.gif" height="12"></td></tr>
    <tr><td background="../images/dots-horiz.png" height="1"></td></tr>
    <tr><td background="../images/spacer.gif" height="18"></td></tr>
    </tbody></table>
    <font size="+1">Step 3: Enter Your Address &amp; Send</font><p>
    <!-- % if (!$user) {-->
    </p><table> <tbody><tr> <td align="right">&nbsp;</td>
    <td>(*=required)</td></tr><tr>
    <td align="right"><b>*Name:</b></td>
    <td><input value="" name="name" size="30"></td></tr>
    <tr><td align="right"><b>*Email:</b></td>
    <td><input value="" name="email" size="30"></td></tr>
    <tr><td align="right"><b>*Phone:</b></td>
    <td><input value="" name="phone" size="16"></td></tr>
    <tr><td align="right"><b>*Address:</b></td>
    <td><input value="" name="address1" size="30"></td></tr>
    <tr><td align="right"><b>*City/State:</b></td>
    <td><input value="" name="city" size="20"><input value="" name="state" size="2"></td></tr>
    <tr><td align="right"><strong>*Zip:</strong></td>
    <td valign="middle"><input value="02122" name="zip" size="5"> &nbsp;&nbsp;&nbsp;<a href="index.html?id=&amp;zip=">Change ZIP Code</a></td></tr></tbody></table>
    <!-- % } else {<table><tr><td align=right><B>Name:</b></td>
    <td>< % $user->name % ></td></tr>
    <tr><td align=right><B>Email:</b></td>
    <td>< % $user->email % ></td></tr>
    <tr><td align=right><B>Zip:</b></td>
    <td>< % $user->zip % ></td></tr></table> % }-->
    <p><input value="Send" type="submit"></p></td>
    <td background="../images/spacer.gif" width="12"></td>
    <td background="../images/dots-vert.png" width="1"></td>
    <td background="../images/spacer.gif" width="20"></td>
    <td valign="top">
    <font size="+1">Step 2: Write your letter</font>
    <p>Use the talking points below the composition window for ideas.
    </p><div id="canned"><input value="custom" name="letter" type="hidden">
    <table cellpadding="0" cellspacing="0">
    <!-- <tr><td background="../images/spacer.gif" height="2"></td></tr> -->
    </table></div>
    <table cellpadding="0" cellspacing="0">
    <tbody><tr><td background="../images/spacer.gif" height="12"></td></tr>
    </tbody></table><table bgcolor="eeeeee" cellpadding="3">
    <tbody><tr><td align="right">
    <font color="#41100"><div id="view" style="visibility: hidden; font-size: 0pt;">No view selected</div></font></td></tr>
    <tr><td>Subject:<br><input name="subject" size="40" type="text">
    </td></tr><tr><td background="../images/spacer.gif" height="3"></td></tr>
    <tr><td>Body:<br><textarea rows="10" cols="40" name="body" id="letter"></textarea></td></tr><tr><td>
    <!-- <input type="checkbox" value="1" name="ok_for_others">It's okay for others to use my letter. --></td></tr></tbody></table>
    <table border="0" cellpadding="0" cellspacing="0" width="375">
    <tbody><tr><td> <img id="toggleimage" name="toggleimage" src="/images/lte/points_tips1.gif" usemap="#Toggle" border="0" height="20"><div id="TalkingPointsDiv" style="display: block;">
    <table style="border: 1px solid gray;" class="content" width="100%">
    <tbody><tr><td background="../images/spacer.gif" height="5"></td></tr>
    </body></html>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •