By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,333 Members | 1,843 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,333 IT Pros & Developers. It's quick & easy.

How do I send email from ASP using (Cdonts) with SMTP Authentication

P: 1
With the Following Fields can Anybody Help me, How do I send email from ASP using SMTP Authentication
Expand|Select|Wrap|Line Numbers
  1. <html>
  2.  
  3. <head>
  4. <meta http-equiv="Content-Language" content="en-us">
  5. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  6. <title></title>
  7.  
  8.  
  9. </head>
  10. <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
  11.  
  12.                     <table border="0" width="700" cellspacing="0" cellpadding="0" id="table6">
  13.                         <tr>
  14.                             <td width="10">&nbsp;</td>
  15.                             <td width="680">&nbsp;</td>
  16.                             <td width="10">&nbsp;</td>
  17.                         </tr>
  18.                         <tr>
  19.                             <td width="10">&nbsp;</td>
  20.                             <td width="680">
  21.                             <p class="MsoNormal" align="center">
  22.                             <b><font face="Verdana" size="2"><center>
  23. <form name="email" method="POST" action="feedback.asp" onSubmit="return invalid();">
  24. <table border="0" width="80%" cellspacing="0" cellpadding="0">
  25.     <tr>
  26.         <td width="50%">
  27.         Name
  28.         </td>
  29.         <td width="50%">
  30.         <input type="text" name="T1" size="31">
  31.         </td>
  32.     </tr>
  33.     <tr>
  34.         <td width="50%">Age</td>
  35.         <td width="50%">
  36.         <select size="1" name="D1">
  37.     <option selected>18</option>
  38.     <option>19</option>
  39.     <option>20</option>
  40.     <option>21</option>
  41.     <option>22</option>
  42.     <option>23</option>
  43.     <option>24</option>
  44.     <option>25</option>
  45.     <option>26</option>
  46.     <option>27</option>
  47.     <option>28</option>
  48.     <option>29</option>
  49.     <option>30</option>
  50.     <option>31</option>
  51.     <option>32</option>
  52.     <option>33</option>
  53.     <option>34</option>
  54.     <option>35</option>
  55.     <option>36</option>
  56.     <option>37</option>
  57.     <option>38</option>
  58.     <option>39</option>
  59.     <option>40</option>
  60.     <option>41</option>
  61.     <option>42</option>
  62.     <option>43</option>
  63.     <option>44</option>
  64.     <option>45</option>
  65.     <option>46</option>
  66.     <option>47</option>
  67.     <option>48</option>
  68.     <option>49</option>
  69.     <option>50</option>
  70.     <option>51</option>
  71.     <option>52</option>
  72.     <option>53</option>
  73.     <option>54</option>
  74.     <option>55</option>
  75.     <option>56</option>
  76.     <option>57</option>
  77.     <option>58</option>
  78.     <option>59</option>
  79.     <option>60</option>
  80.     <option>61</option>
  81.     <option>62</option>
  82.     <option>63</option>
  83.     <option>64</option>
  84.     <option>65</option>
  85.     <option>66</option>
  86.     <option>67</option>
  87.     <option>68</option>
  88.     <option>69</option>
  89.     <option>70</option>
  90.     <option>71</option>
  91.     <option>72</option>
  92.     <option>73</option>
  93.     <option>74</option>
  94.     <option>75</option>
  95.     <option>76</option>
  96.     <option>77</option>
  97.     <option>78</option>
  98.     <option>79</option>
  99.     <option>80</option>
  100.     <option>81</option>
  101.     <option>82</option>
  102.     <option>83</option>
  103.     <option>84</option>
  104.     <option>85</option>
  105.     <option>86</option>
  106.     <option>87</option>
  107.     <option>88</option>
  108.     <option>89</option>
  109.     <option>90</option>
  110.     <option>91</option>
  111.     <option>92</option>
  112.     <option>93</option>
  113.     <option>94</option>
  114.     <option>95</option>
  115.     <option>96</option>
  116.     <option>97</option>
  117.     <option>98</option>
  118.     <option>99</option>
  119.     </select></td>
  120.     </tr>
  121.     <tr>
  122.         <td width="50%">Qualification 1</td>
  123.         <td width="50%">
  124.         <input type="text" name="T3" size="31">
  125.         </td>
  126.     </tr>
  127.     <tr>
  128.         <td width="50%">
  129.         University
  130.         </td>
  131.         <td width="50%">
  132.         <input type="text" name="S2" size="31">
  133.         </td>
  134.     </tr>
  135.     <tr>
  136.         <td width="50%">Qualification 2</td>
  137.         <td width="50%">
  138.         <input type="text" name="T9" size="31">
  139.         </td>
  140.     </tr>
  141.     <tr>
  142.         <td width="50%">
  143.         University
  144.         </td>
  145.         <td width="50%">
  146.         <input type="text" name="T10" size="31">
  147.         </td>
  148.     </tr>
  149.     <tr>
  150.         <td width="50%">
  151.         Work Experience</td>
  152.         <td width="50%">
  153.         <select size="1" name="D2">
  154.     <option selected>1 yr</option>
  155.     <option>3 yrs</option>
  156.     <option>4 yrs</option>
  157.     <option>5 yrs</option>
  158.     <option>6 yrs</option>
  159.     <option>7 yrs</option>
  160.     <option>8 yrs</option>
  161.     <option>9 yrs</option>
  162.     <option>10 yrs</option>
  163.     <option>11 yrs</option>
  164.     <option>12 yrs</option>
  165.     <option>13 yrs</option>
  166.     <option>14 yrs</option>
  167.     <option>15 yrs</option>
  168.     <option>16 yrs</option>
  169.     <option>17 yrs</option>
  170.     <option>18 yrs</option>
  171.     <option>19 yrs</option>
  172.     <option>20 yrs</option>
  173.     <option>21 yrs</option>
  174.     <option>22 yrs</option>
  175.     <option>23 yrs</option>
  176.     <option>24 yrs</option>
  177.     <option>25 yrs</option>
  178.     <option>26 yrs</option>
  179.     <option>27 yrs</option>
  180.     <option>28 yrs</option>
  181.     <option>29 yrs</option>
  182.     <option>30 yrs</option>
  183.     <option>31 yrs</option>
  184.     <option>32 yrs</option>
  185.     <option>33 yrs</option>
  186.     <option>34 yrs</option>
  187.     <option>35 yrs</option>
  188.     <option>36 yrs</option>
  189.     <option>37 yrs</option>
  190.     <option>38 yrs</option>
  191.     <option>39 yrs</option>
  192.     <option>40 yrs</option>
  193.     <option>41 yrs</option>
  194.     <option>42 yrs</option>
  195.     <option>43 yrs</option>
  196.     <option>44 yrs</option>
  197.     <option>45 yrs</option>
  198.     </select></td>
  199.     </tr>
  200.     <tr>
  201.         <td width="50%">
  202.         Current Designation</td>
  203.         <td width="50%">
  204.         <input type="text" name="T4" size="31">
  205.         </td>
  206.     </tr>
  207.     <tr>
  208.         <td width="50%" height="25">
  209.         Gross Income for Past 12 Months</td>
  210.         <td width="50%" height="25">
  211.                             <b><font face="Verdana" size="2">
  212.         <select size="1" name="D5">
  213.     <option selected>below 2 lac</option>
  214.     <option>2 lacs to 2.5 lacs</option>
  215.     <option>2.5 lacs to 3 lacs</option>
  216.     <option>3 lacs to 4 lacs</option>
  217.     <option>4 lacs to 5 lacs</option>
  218.     <option>5 lacs to 6 lacs</option>
  219.     <option>6 lacs to 6.5 lacs</option>
  220.     <option>More than 6.5 lacs</option>
  221.     </select></font></b></td>
  222.     </tr>
  223.     <tr>
  224.         <td width="50%" height="25">
  225.         Desire Country</td>
  226.         <td width="50%" height="25">
  227.         <select size="1" name="D3">
  228.     <option selected>Australia</option>
  229.     <option>Canada</option>
  230.     <option>Denmark</option>
  231.     <option>England</option>
  232.     <option>USA</option>
  233.     </select></td>
  234.     </tr>
  235.     <tr>
  236.         <td width="50%" height="25">
  237.         Any Relatives in Desired Country</td>
  238.         <td width="50%" height="25">
  239.         <select size="1" name="D4">
  240.     <option selected>Father</option>
  241.     <option>Mother</option>
  242.     <option>Brother</option>
  243.     <option>Sister</option>
  244.     <option>Spouse</option>
  245.     <option>Uncle</option>
  246.     <option>Aunty</option>
  247.     <option>1st Cousin</option>
  248.     <option>No</option>
  249.     </select></td>
  250.     </tr>
  251.     <tr>
  252.         <td width="50%">
  253.         Tel no.
  254.         </td>
  255.         <td width="50%">
  256.         <input type="text" name="T6" size="31">
  257.         </td>
  258.     </tr>
  259.     <tr>
  260.         <td width="50%">
  261.         E-mail
  262.         </td>
  263.         <td width="50%">
  264.         <input type="text" name="T2" size="31">
  265.         </td>
  266.     </tr>
  267.     <tr>
  268.         <td width="50%">
  269.         &nbsp;</td>
  270.         <td width="50%">
  271.         &nbsp;</td>
  272.     </tr>
  273.     <tr>
  274.         <td width="100%" colspan="2" align="center">
  275.         <input type="submit" value="Send Us Now!" name="B1">
  276.         </td>
  277.     </tr>
  278.     <tr>
  279.         <td width="50%">
  280.         &nbsp;</td>
  281.         <td width="50%">
  282.         &nbsp;</td>
  283.     </tr>
  284. </table>
  285. </form>
  286. </center>
  287. </font></b></td>
  288. </b></font>
  289.                             </td>
  290.                             <td width="10">&nbsp;</td>
  291.                         </tr>
  292.                         <tr>
  293.                             <td width="10">&nbsp;</td>
  294.                             <td width="680">&nbsp;</td>
  295.                             <td width="10">&nbsp;</td>
  296.                         </tr>
  297.                     </table>
  298.  
  299. </body>
May 6 '09 #1
Share this Question
Share on Google+
1 Reply


GazMathias
Expert 100+
P: 189
Take a look at http://www.w3schools.com/asp/asp_send_email.asp

You should be able to find what you need there. If you get stuck again, ask!
May 6 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.