PHP Classes

XTem xEmail: Sending formfields and vars over email

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 980 All time: 3,711 This week: 488Up
Version License Categories
xemail 1.0GNU General Publi...HTML, Email
Description 

Author

With xEmail you can submit data(vars) from HTML forms or scripts by email.
Some helpful tools inside, like checking form checkboxes etc.

Picture of Kai Schneider
Name: Kai Schneider <contact>
Classes: 2 packages by
Country: Germany Germany

Details

############################################ # xt FormMailer 1.0 # by n1-studio.de ############################################ xt FormMailer is a class to submit data fast over the email server. Example: <? $my_name = "Mr. X"; $DoMail = new xEmail; $DoMail->SetEmailCFG("yourname@provider.com","Test Email); /* With the second parameter of the function, you can set whether the field is requiered or not. If you set it to 1, it will exit when $my_name is empty! */ $DoMail->AddValue($my_name, 0) $DoMail->SendEmail(); ?> Thats all. If you use HTML formulars and you want to submit checkboxes, you can use the function: "AddValueBox($BoxName, $value)" It's very easy to use: //Example, the name of the checkbox is unempl and it ask you whether you unemployed or not $DoMail->AddValueBox("He is Unemployed", $unempl); The Script will check if the checkbox is checked or not. If not the var will set to NULL. If it's checked, the first parameter of the function will be submitted in the email.

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file readme.txt Doc. readme
Plain text file xt_formmail.php Class xEmail Class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:980
This week:0
All time:3,711
This week:488Up
User Comments (1)
Excellent
15 years ago (kishore kumar)
65%StarStarStarStar