Could not instantiate mail function

sweet160 03 Dec, 2009
http://www.test.birdwatchershouse.com/index.php?option=com_chronocontact&task=send&chronoformname=forma&Itemid=4

Hi,

I have two forms on this page... the white form on the left sends its mails like expected...
the black one on the right gives me the dreaded "Could not instantiate mail function." message.

Both forms have the green frame on the "setup email"-pane and all the fields have the exact same settings (for both forms)

This is code for the left (white form) that's sending ok
<h3>Pre-Califícate</h3>
<table width="100%" border="0" cellspacing="5" cellpadding="0">
  <tr>
    <td valign="top">
    <div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Nombres:</label>
    <input class="cf_inputbox required" maxlength="150" size="30" title="Requerido" id="text_0" name="nombres" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Email:</label>
    <input class="cf_inputbox required validate-email" maxlength="150" size="30" title="Requerido" id="text_1" name="email" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">No. Hijos:</label>
    <input class="cf_inputbox validate-number" maxlength="150" size="30" title="" id="text_2" name="hijos" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Sueldo (USD):</label>
    <input class="cf_inputbox" maxlength="150" size="30" title="" id="text_4" name="sueldo" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Entrada Inicial (USD):</label>
    <input class="cf_inputbox" maxlength="150" size="30" title="" id="text_5" name="entrada" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label" style="width: 150px;">Comentarios:</label>
    <textarea class="cf_inputbox" rows="6" id="text_6" title="" cols="24" name="text_6"></textarea>
    
  </div>
  <div class="cfclear"> </div>
</div>
    </td>
    <td valign="top">
    <div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Estado Civil:</label>
    <input class="cf_inputbox" maxlength="150" size="30" title="" id="text_7" name="estadoCivil" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Teléfono:</label>
    <input class="cf_inputbox" maxlength="150" size="30" title="" id="text_9" name="telefono" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Empresa:</label>
    <input class="cf_inputbox" maxlength="150" size="30" title="" id="text_8" name="empresa" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label" style="width: 130px;">Posee alguna propiedad o vehículo:</label>
      <input value="Si" title="Requerido" class="radio validate-one-required" id="radio00" name="radio0" type="radio" />
      <label for="radio00" class="radio_label">Si</label>
  
      
<input value="No" title="Requerido" class="radio validate-one-required" id="radio01" name="radio0" type="radio" />
      <label for="radio01" class="radio_label">No</label>
    
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Antiguedad laboral:</label>
    <input class="cf_inputbox" maxlength="150" size="30" title="" id="text_11" name="antiguedad" type="text" />
  
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label" style="width: 150px;">Valor de la cuota que estima pagar (USD):</label>
    <input class="cf_inputbox" maxlength="150" size="30" title="" id="text_12" name="valorCuota" type="text" />

  
  </div>
  <div class="cfclear"> </div>
</div>
<div class="form_element cf_radiobutton">
    <label class="cf_label" style="width: 130px;">Está usted afiliado al IESS?</label>
    <input value="Si" title="" class="radio" id="radio02" name="radio2" type="radio" />
      <label for="radio02" class="radio_label">Si</label>

      
<input value="No" title="" class="radio" id="radio03" name="radio2" type="radio" />
      <label for="radio03" class="radio_label">No</label>
  </div>
  <div class="cfclear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_radiobutton">
    <label class="cf_label" style="width: 130px;">Está su conyugue afiliado(a) al IESS?</label>
    <input value="Si" title="" class="radio" id="radio10" name="radio1" type="radio" />
      <label for="radio10" class="radio_label">Si</label>
      
<input value="No" title="" class="radio" id="radio11" name="radio1" type="radio" />
      <label for="radio11" class="radio_label">No</label>  
  </div>
  <div class="cfclear"> </div>

    </td>
  </tr>
  <tr>
    <td colspan="2" align="center"><input type="submit" value="Enviar"></td>
  </tr>
</table>


this is for the right (black) form which isn't sending at all:
<fieldset>
<legend><strong>Sus Detailes</strong></legend>
<br/><p><label1 for="name">Su nombre:</label1><input type="text" name="name" size="20"></p>
<p><label1 for="surname">Su apellido:</label1><input type="text" name="name" size="20"></p>
<p><label1 for="email">Correo:</label1><input name="email" type="text" size="20">
<p><label1 for="dayphone">Teléfono:</label1><input type="text" name="day_phone" size="20">         </p>
<p><label1 for="cell">Celular:</label1><input type="text" name="night_phone" size="20"></p>
</p>
</fieldset><br />
<fieldset>
<legend><strong>Método de contacto preferido</strong></legend>

<br /><p><input type="checkbox" name="contact" value="phone"> Via correo eléctronica</p>
<p><input type="checkbox" name="contact" value="email"> Via teléfono </p>
<p><input type="checkbox" name="contact" value="email"> Via celular </p>
</fieldset><br/>
<fieldset>
<legend><strong>Su mensaje</strong></legend><br />
<p><label1 for="asunta">Asunto:</label1><input type="text" name="asunta" size="20"></p>
<p><textarea COLS="30" NAME="other_info0" id="ff_elem205" style="height: 63; width: 230" rows="8"></textarea>
</p>
</fieldset><br/>
<br/><br/>
</p>
<p align="center">
  <input type="submit" value="Enviar a Macsa" name="Submit" style="font-weight: bold">       
  <input type="reset" value="Reiniciar formulario" name="reset" style="font-size: 8pt">
</p>
   <td colspan="2" align="center"><input type="submit" value="Enviar"></td>
  </tr>


Thanks for looking at this!
GreyHead 06 Dec, 2009
Hi sweet160,

I split this from the other thread as the topic is very different.

No real idea why one form should give this error. I can only see one form on the page though.

Bob
sweet160 09 Dec, 2009
thanks for your help!

I got it to work reconfiguration the mail settings!
This topic is locked and no more replies can be posted.