TEMA:

submitForm 13 años 8 meses antes #6718

  • Autor del tema
  • umekolle
  • Fuera de línea
  • Navegador Iniciado
  • Navegador Iniciado
  • Registered
  • Mensajes: 13
  • Gracias recibidas: 0
Hello!

Info: I'm using a component called SimpleCaddy (small shop function) and when I press the button to send the order I get the "Could not instantiate mail function." but only on my webhost one.com, it works on other webhosts... And Simplecaddy use Joomla's own mailing function like Breezingform I asume...

Simplecaddy mailcode:

$mailer =& JFactory::getMailer();

// Build e-mail message format
$mailer->setSender(array($mainframe->getCfg('mailfrom'), $mainframe->getCfg('fromname')));
$mailer->setSubject( stripslashes( $emailsubject));
$mailer->setBody($emailbody );
$mailer->IsHTML($mode);

$emailcopies=$cfg->get('email_copies'); // the complete address list is already trimmed
$aemailcopies=explode("\n", $emailcopies);
// Add recipients
$mailer->addRecipient(trim($m->email));
// add the copies
foreach ($aemailcopies as $key=>$emailaddress) {
$mailer->addRecipient(trim($emailaddress)); // trim each address from any \n ...
}
// Send the Mail
$rs = $mailer->Send();
return true;

Question:
Breezingforms mailing function works perfectly so can you tell me where I can find the code that do the mail submit?

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Re:submitForm 13 años 8 meses antes #6722

  • Avatar de Sweder
  • Sweder
  • Fuera de línea
  • Navegador Senior
  • Navegador Senior
  • Registered
  • Mensajes: 81
  • Gracias recibidas: 0
To me it still looks like you have not configured your e-mail server correctly. But if you verified that the standard Joomla contact form works than you might be right to look somewhere else.

Anyway, the e-mail is send from a function sendEmailNotification in the file components/com_facileforms/facileforms.process.php.

TheMuffinMan is the one that can validate my previous statement because he knows the code much better.

Sweder
Joomla 1.5.18 | BreezingForms 1.7.1 build 728 | Eclipse 3.4.2 | Subversion 1.6.2 | Apache 2.2.11

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Última Edición: Post by Sweder.
  • Página:
  • 1
Moderadores: ForumSupport
Tiempo de carga de la página: 0.051 segundos

Live Support Chat Opened!

Join our Discord chat here and enter the Crosstec channels to receive live support and talk directly to the team!