Hi this my page i want to send mail using smtp mail server what is php scrip
Can anybody help me

<html>
   <head>
  
   <title></title>
    </head>
   <body>
   <font face="sans-serif" size="2">
   <hr size="1" color="#707070">
   <font size="4"></font>
   <br>
   <br>
   <b>Send an e-mail message to a recipient through an SMTP connection.</b>
   <br>
   <br>
   <hr size="1" color="#707070">
   <br>
   <form action="send.php" method="post" >
   <table border="0" bgcolor="#f0f0f0" ID="Table1">
   
   <tr>
      <td valign="top">From Address:</td>
      <td>
         <input size="50" type="text" name="FromAddress" ><br>
      </td>
   </tr>
   <tr>
      <td valign="top">From Name:</td>
      <td>
         <input size="50" type="text" name="FromName" ><br>
      </td>
   </tr>
   <tr>
      <td valign="top">To Address:</td>
      <td>
         <input size="50" type="text" name="ToAddress"><br>
      </td>
   </tr>
   <tr>
      <td valign="top">Subject:</td>
      <td>
         <input size="50" type="text" name="Subject" ><br>
      </td>
   </tr>
   <tr>
      <td valign="top">Message:</td>
      <td>
         <textarea rows="4" name="Message" cols="40"></textarea>
      </td>
   </tr>
   </table>
   <br>
   <input type="submit" value="Send Message">
   <br>
   <br>
   <b>IMPORTANT:</b> Please press the button <b>only once</b>, and allow some time for the e-mail to be processed. 
   </form>
   <br>
   <hr size="1" color="#707070">
   <font size="1" face="Verdana">This demo uses the ActiveXperts ActiveEmail</font>
   </body>

Recommended Answers

All 3 Replies

Member Avatar for Rhyan

You may also try PHPMAILER (search google for phpmailer). This is a php class that gives some more extra capabilities than the standard built-in php mail() function.

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.