PHP Classes
elePHPant
Icontem

XTem xEmail: Sending formfields and vars over email

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2003-03-22 (13 years ago) RSS 2.0 feedNot enough user ratingsTotal: 978 All time: 3,552 This week: 1,489Up
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
Age: 30
All time rank: 93661 in Germany Germany
Week rank: 1343 Down59 in Germany Germany Up

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  
File Role Description
Accessible without login Plain text file readme.txt Doc. readme
Plain text file xt_formmail.php Class xEmail Class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:978
This week:0
All time:3,552
This week:1,489Up
User Comments (1)
Excellent
6 years ago (kishore kumar)
65%StarStarStarStar