ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Need Help, No emails being sent

notahacker 19 Sep, 2007
Hello all, before you jump all over me, I have already changed the code from this post

I noticed in another forum mention of addition fields being added this version. So as a temp measure I changed the send mail code back to something similar to the earlier version.

in /components/com_chronocontact/chronocontact.php I edited the code as follows

/**
* Send the email(s)
*/
//	$email_sent = mosMail($from, $fromname, $recipient, $subject, $html_message, true, 
//     $ccemails, $bccemails, $attachments, $replyto_email, $replyto_name );
// 2.0 version	
	$email_sent = mosMail($from, $fromname, $recipient, $subject, $html_message, true, NULL, NULL, NULL, NULL, NULL ); 

Works for me...<br><br>Post edited by: kingb, at: 2007/09/17 21:05

and everything works fine for some simple forms...

But the form that i need to use for this site is:

        <table style="width: 750px;" border="0" cellpadding="0"
 cellspacing="0">
          <tbody>
            <tr>
              <td style="width: 60px;" bgcolor="#333399" valign="top"><br>
              </td>
              <td rowspan="1" colspan="3"
 style="width: 710px; vertical-align: top; background-color: rgb(51, 51, 153); text-align: center; color: rgb(255, 255, 204);"><font
 size="+1"><span class="bigwhitetext">Property
Questionnaire</span></font> </td>
              <td bgcolor="#333399" valign="top" width="30"><br>
              </td>

            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>
              </td>
              <td valign="top" width="350"><br>
              </td>
              <td valign="top" width="10"><br>
              </td>
              <td valign="top" width="350"><br>

              </td>
              <td valign="top" width="30"><br>
              </td>
            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>
              </td>
              <td valign="top" width="350">What kind of property are
you looking for?<br>

              <select name="Desired Property Type">
              <option selected="selected" value="notselected">- Please
Select -</option>
              <option value="House">House</option>
              <option value="Condo">Condo</option>
              <option value="Lot">Lot</option>
              <option value="Land">Land</option>

              <option value="Business">Business</option>
              </select>
              <br>
              <br>
              </td>
              <td valign="top" width="10"><br>
              </td>
              <td valign="top" width="350">What are you going to use
the property for?<br>

              <input size="35" maxlength="256"
 name="Intended Use of 
Property" type="text"> <br>
              <br>
              </td>
              <td valign="top" width="30"><br>
              </td>
            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>

              </td>
              <td valign="top" width="350">What is your desired size of
the property?<br>
              <select name="Desired Property Size">
              <option selected="selected" value="notselected">- Please
Select -</option>
              <option>1/4 Acre</option>
              <option>1/2 Acre</option>
              <option>1-10 Acres</option>

              <option>< 100 Acres</option>
              <option>> 100 Acres</option>
              </select>
              <br>
              <br>
              </td>
              <td valign="top" width="10"><br>

              </td>
              <td valign="top" width="350">What is your budget for the
plans you have?<br>
              <select name="Budget">
              <option selected="selected" value="notselected">- Please
Select -</option>
              <option>under $100K</option>
              <option>$100K-$200K</option>
              <option>up to $500K</option>

              <option>up to $1M</option>
              <option>more than $1M</option>
              </select>
              <br>
              <br>
              </td>
              <td valign="top" width="30"><br>
              </td>

            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>
              </td>
              <td valign="top" width="350">Where is the desired area
for the property?<br>
              <select name="Neighborhood Area">
              <option selected="selected" value="notselected">- Please
Select -</option>
              <option>Beachfront</option>

              <option>Walk to Beach</option>
              <option>Drive to Beach</option>
              <option>Ocean View</option>
              <option>Mountains</option>
              <option>Near Town</option>
              </select>

              <br>
              <br>
              </td>
              <td valign="top" width="10"><br>
              </td>
              <td valign="top" width="350">Do you have legal
representation? <input name="Do you have a lawyer" value="Yes"
 type="radio"> Yes  <input name="Do you have a lawyer" value="No"
 type="radio"> No <br>

              <input size="35" maxlength="256"
 name="Lawyer Contact 
Info" type="text"> Contact Info <br>
              <br>
              </td>
              <td valign="top" width="30"><br>
              </td>
            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>

              </td>
              <td valign="top" width="350">When you find the right
property, when will you buy?<br>
              <select name="Purchase Timeframe">
              <option selected="selected" value="notselected">- Please
Select -</option>
              <option>Now !!</option>
              <option>Soon</option>
              <option>1-3 Months</option>

              <option>3-6 Months</option>
              <option>6 Mo - 1Yr</option>
              </select>
              <br>
              <br>
              </td>
              <td valign="top" width="10"><br>
              </td>

              <td valign="top" width="350">How many times have you been
to Costa Rica?<br>
              <select name="Been to Costa Rica">
              <option selected="selected" value="notselected">- Please
Select -</option>
              <option>Not Yet</option>
              <option>Once</option>
              <option>Twice</option>

              <option>3-5 Times</option>
              <option>Resident</option>
              </select>
              <br>
              <br>
              </td>
              <td valign="top" width="30"><br>
              </td>

            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>
              </td>
              <td valign="top" width="350">What amenities or
requirements must the property have?<br>
              <select name="Amenities">
              <option selected="selected" value="notselected">- Please
Select -</option>
              <option>Ready to Build Homesite</option>

              <option>All Utilities OnSite</option>
              <option>Utilities Nearby</option>
              <option>Road Access</option>
              <option>Unimproved</option>
              </select>
              <br>
              <input size="35" maxlength="256"
 name="Other 
Requirements" type="text"> Other Requirements <br>

              <br>
              </td>
              <td valign="top" width="10"><br>
              </td>
              <td valign="top" width="350">How did you hear about us?<br>
              <select name="How you found us">
              <option selected="selected" value="notselected">- Please
Select -</option>
              <option>Website</option>

              <option>Signs</option>
              <option>Walk-In</option>
              <option>Repeat Customer</option>
              <option>Friend</option>
              <option>Another Agent</option>
              </select>

              <br>
              <input size="35" maxlength="256" name="Referred By 
Name"
 type="text"> Agent Name <br>
              <br>
              </td>
              <td valign="top" width="30"><br>
              </td>
            </tr>
            <tr>

              <td style="width: 60px;" valign="top"><br>
              </td>
              <td valign="top" width="350">Describe your ideal property:<br>
              <textarea rows="3" cols="35" wrap="virtual"
 maxlength="400" name="Property Description"></textarea> <br>
              </td>
              <td valign="top" width="10"><br>
              </td>

              <td valign="top" width="350">Tell us more about your
ideas and goals:<br>
              <textarea rows="3" cols="35" wrap="virtual"
 maxlength="400" name="Ideas Plans and Goals"></textarea> <br>
              </td>
              <td valign="top" width="30"><br>
              </td>
            </tr>
            <tr>

              <td style="width: 60px;" valign="top"><br>
              </td>
              <td valign="top" width="350"><br>
              </td>
              <td valign="top" width="10"><br>
              </td>
              <td valign="top" width="350"><br>
              </td>
              <td valign="top" width="30"><br>

              </td>
            </tr>
            <tr>
              <td style="width: 60px;" bgcolor="#333399" valign="top"><br>
              </td>
              <td style="color: rgb(255, 255, 204);" rowspan="1"
 colspan="3" align="center" bgcolor="#333399" valign="top" width="710"><font
 size="+1"><span class="bigwhitetext">Personal
Information</span></font> </td>
              <td bgcolor="#333399" valign="top" width="30"><br>
              </td>

            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>
              </td>
              <td valign="top" width="350"><br>
              </td>
              <td valign="top" width="10"><br>
              </td>
              <td valign="top" width="350"><br>

              </td>
              <td valign="top" width="30"><br>
              </td>
            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>
              </td>
              <td valign="top" width="350">Name:<br>

              <input size="35" maxlength="256" name="Full Name"
 type="text"> <br>
              <br>
              </td>
              <td valign="top" width="10"><br>
              </td>
              <td valign="top" width="350">When are you are coming to
Costa Rica (arrival date) ?<br>
              <input size="35" maxlength="256" name="Arrival Date"
 type="text"> <br>

              <br>
              </td>
              <td valign="top" width="30"><br>
              </td>
            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>
              </td>
              <td valign="top" width="350">Home Country (address or
citizenship):<br>

              <input size="35" maxlength="256" name="Home Country"
 type="text"> <br>
              <br>
              </td>
              <td valign="top" width="10"><br>
              </td>
              <td valign="top" width="350">How long will you be here
(duration or departure date) ?<br>
              <input size="35" maxlength="256" name="Departure Date"
 type="text"> <br>

              <br>
              </td>
              <td valign="top" width="30"><br>
              </td>
            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>
              </td>
              <td valign="top" width="350">Telephone:<br>

              <input size="35" maxlength="256" name="Home Telephone"
 type="text"> <br>
              <br>
              </td>
              <td valign="top" width="10"><br>
              </td>
              <td valign="top" width="350">Local Lodging:<br>
              <input size="35" maxlength="256" name="Local Lodging"
 type="text"> <br>

              <br>
              </td>
              <td valign="top" width="30"><br>
              </td>
            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>
              </td>
              <td valign="top" width="350"><span class="bigredtext"><b>E-Mail
(*required):</b></span><b><br>

              <input size="35" maxlength="256" name="email" type="email">
              <br>
              <br>
              </b></td>
              <td valign="top" width="10"><br>
              </td>
              <td valign="top" width="350">Local Telephone:<br>
              <input size="35" maxlength="256" name="Local 
Telephone"
 type="text"> <br>

              <br>
              </td>
              <td valign="top" width="30"><br>
              </td>
            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>
              </td>
              <td valign="top" width="350"><br>

              </td>
              <td valign="top" width="10"><br>
              </td>
              <td valign="top" width="350"><br>
              </td>
              <td valign="top" width="30"><br>
              </td>
            </tr>
            <tr>

              <td style="width: 60px;" valign="top"><br>
              </td>
              <td style="background-color: rgb(255, 255, 204);"
 rowspan="1" colspan="3" align="center" valign="top" width="710"><input
 value="Click here to Send" type="submit"> </td>
              <td valign="top" width="30"><br>
              </td>
            </tr>
            <tr>
              <td style="width: 60px;" valign="top"><br>

              </td>
              <td valign="top"><br>
              </td>
              <td valign="top"><br>
              </td>
              <td valign="top"><br>
              </td>
              <td valign="top"><br>
              </td>

            </tr>
            <tr>
              <td style="width: 60px;" bgcolor="#333399" valign="top"><br>
              </td>
              <td bgcolor="#333399" valign="top"><br>
              </td>
              <td bgcolor="#333399" valign="top"><br>
              </td>
              <td bgcolor="#333399" valign="top"><br>

              </td>
              <td bgcolor="#333399" valign="top"><br>
              </td>

Please note that I am not a programmer, and have very limited html, css and all that knowledge... I run my own joomla site and just can't get this to work... Thanks for your help!<br><br>Post edited by: admin, at: 2007/09/19 17:01
Max_admin 19 Sep, 2007
Hi,

All form settings are the same as those works ? ONLY the cHTML code changes ?

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
notahacker 19 Sep, 2007
Sorry Max, I don't understand the question... My friend uses this same form, and he let me have it... seems like it should work.
notahacker 20 Sep, 2007
Ok, I get it.. correct, only html changes... no other changes.
Max_admin 20 Sep, 2007
Hi notahacker,

Sorry for the delay, I spent the whole day out and Bob is in vacation!

So, its impossible for the HTML only to stop the emails, please double chck all other settings ?

Also you don't need the hack anymore with V2.3.4 released.

I expect you are using Joomla 1.0 and not 1.5, right ?

Cheers

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com