Recommend this page to a friend! |
Download .zip |
Info | View files (2) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2003-03-22 (13 years ago) | Not enough user ratings | Total: 978 | All time: 3,565 This week: 1,489 |
Version | License | Categories | ||||
xemail 1.0 | GNU General Publi... | HTML, Email |
Description | Author | |||||||||||||
With xEmail you can submit data(vars) from HTML forms or scripts by email. |
|
############################################ # 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. |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.