Re: Need Help with PHP Mails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<form action="mailto: address@xxxxxxxx" ...

Some browsers will moan/complain about the webpage rendering an email address, but that's the simplest way to do it.

Aside from that, here's a link to the w3schools.com page on PHP mail sending:
http://www.w3schools.com/PHP/php_mail.asp

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'

----- Original Message ----- From: "Guru™" <nagendra802000@xxxxxxxxx> To: <phpexperts@xxxxxxxxxxxxxxx>; "PHP DB" <php-db@xxxxxxxxxxxxx>; "php mysql" <PHP_MySQL_usergroup@xxxxxxxxxxxxxxx>; <php-windows@xxxxxxxxxxxxx>
Sent: Monday, April 04, 2011 2:21 PM
Subject:  Need Help with PHP Mails


Hi All,

I have this HTML form


<style type="text/css">
<!--
.style14 {font-size: 24px
}
.style14 {font-size: 12px}
-->
</style>
<table width="788" border="0" align="center">
 <tr>
   <td width="1023"><form method="post" action="">
     <table width="648" height="133" border="0" align="center"
cellpadding="0" cellspacing="0" bordercolor="#000000">
       <tr>
         <td width="132" height="44" valign="middle"><div
align="right"><strong>Your Name</strong></div></td>
         <td width="491" valign="middle"><input name="party_name"
type="text" size="50" /></td>
       </tr>
       <tr>
         <td valign="middle"><div align="right"><strong>Contact
Numbers</strong></div></td>
         <td height="38" valign="middle"><p align="left">
           <input name="contact_nos" type="text" size="50" />
           <span class="style14">(please specify STD code)</span></p></td>
       </tr>
       <tr>
         <td valign="middle"><div
align="right"><strong>Email</strong><strong> </strong></div></td>
         <td height="33" valign="middle"><input name="email" type="text"
size="50" /></td>
       </tr>
     </table>
     <p align="center">
       <input type="submit" value="submit" name="submit">
     </p>
   </form></td>
 </tr>
</table>



____________________________________________________________________________

What I want is when the user click on the submit button the data from this
form should directly comes to my email. I tried mail function but not
working for me. I just need these 3 fields in my mail. Please help me with
this.

--
*Best,
*
*Guru™*


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux