SetMessage("SUCCESS", "Thank you,
I will back to soon. ");
// The following messages can also be set, but they have defaults, listed below:
// EMPTY - Please fill out all required fields before submitting.
// UNKNOWN - An unknown error occured. Please try again later.
// SUCCESS -
Thank you,
Your message has been received and is being reviewed.
// The labels for each field in the email $Contact->SetLabels(array("First Name", "Email", "Telephone", "Comments", "RE/MAX of Cherry Creek Info")); // The variable names of each field submitted via POST data, use the same order as you did for the labels. // These parameters have to be the exact name of the input field in the form, and match the order of the items listed in SetLabels $Contact->SetData(array("name", "email", "telephone", "comments", "yes")); // Another option for creating the email is to just to create the email contents in a string and use the following function: // Using this function overrides anything you set in SetLabels and SetData, since what you enter becomes the email message. //$Contact->SetBody("email message here, html formatting ok"); // Parameter order is: (To, From Name, From Email, Subject). "To" can also be an array if you need to send to more than 1 person //$SentMessage = $Contact->Email("manager@homebroker.net", "Susan Komen for The Cure", "manager@homebroker.net", "Susan Komen - Contact Us"); $SentMessage = $Contact->Email("brian@unleadedsoftware.com", "Susan Komen for The Cure", "manager@homebroker.net", "Susan Komen - Contact Us"); } ?>![]() |
|
|||||||||
|
|
| © 2009 Spencer Website Design | ||