First up, is a general send mail form. People were always coming up to me, telling me they needed a form set up, and I got sick of having to type out every variable in the action statement, so all I did here was create a loop, that looped through all the form fields, and displayed there name, fallowed by the evaluation of the field. At the end , I simply re-located back to a thank you page. All the validation is handled on the previous html, with Javascript, and remember ,you cant have spaces or dashes in the form field names, when naming them, because it will cause an error, if you have a way around this, please share. There is a few ways, like replacing every _ with a space. Anyway, heres the first code of the thread !!
sendmail.cfm
Code Notes: Name form fields what you want to display before what is evaluated. Put this as your action="" on your normal html form.
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
Code:
#TheField# - #Evaluate(TheField)#
More Information:
- html - CachedRe: [PHP] Where does the sendmail() function come from? - msg
- by J Dutton - Related articlesIn addition to Sendmail source code that provides access to LDAP databases, both the UMich LDAP-3
- I have tried using your PHPMailer ( with code unedited) but i get an error ” Could not instantiate mail function
- We want to have image (not url of image) in content of email by using SEND MAIL function in PeopleCode
- function sendmail ($from_name, $from_email, $to_name, $to_email, $subject, $text_message="", $html_message, $attachment="")
More:
Bookmarks