Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Intro Black Friday Offer for a lifetime*

Email notification configuration

10 years 9 months ago #240802 by robfromfort
Replied by robfromfort on topic Email notification configuration
The software isn't sending out messages through joomla. However joomla and also kunena are doing just fine sending out messages. I think, even though you don't want to acknowledge it, there might be an issue with your component integrating with joomla correctly.

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
10 years 9 months ago #240806 by slabbi
Replied by slabbi on topic Email notification configuration

robfromfort wrote: The software isn't sending out messages through joomla. However joomla and also kunena are doing just fine sending out messages. I think, even though you don't want to acknowledge it, there might be an issue with your component integrating with joomla correctly.


Please feel free to make suggestions how to fix this issue.
I am very grateful for any help.

In uddeimlibXX.php you will find the wrapper function that sends all mosMail messages:
Code:
function uddeIMmosMail($from, $fromname, $recipient, $subject, $body, $mode=0, $cc=NULL, $bcc=NULL, $attachment=NULL, $replyto=NULL, $replytoname=NULL ) { $mailer = JFactory::getMailer(); if (!empty($replyto) && !empty($replytoname)) $mailer-> addReplyTo($replyto, $replytoname); else if (!empty($replyto)) $mailer-> addReplyTo($replyto); $sender = array( $from, $fromname ); $mailer->setSender($sender); $mailer->addRecipient($recipient); $mailer->setSubject($subject); $mailer->setBody($body); //$mailer->addAttachment(JPATH_COMPONENT.DS.'assets'.DS.'document.pdf'); if ($mode==1) { $mailer->isHTML(true); $mailer->Encoding = 'base64'; } if (!empty($bcc)) $mailer->addBCC($bcc); if (!empty($cc)) $mailer->addCC($cc); $send = $mailer->Send(); return $send; // return JMail::sendMail($from, $fromname, $recipient, $subject, $body, $mode, $cc, $bcc, $attachment, $replyto, $replytoname ); }

When Joomla is configured to use Sendmail or phpmail the code above works fine, when SMTP is used it does not work on a very few systems.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum