Skip to Content Skip to Menu

Problem with email and Mandrill

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
9 years 4 months ago #266749 by timstohr
Problem with email and Mandrill was created by timstohr
Hey Kyle,

I am using Mandrill and I have successfuly integrated the emails into the template of Mandrill... UddeIM emails work well as well... Community Builder emails (which make up most of the emails) dont...

I am using the CMandrill plugin which is supposed to send all the emails via API to Mandrill and Mandrill is putting them there into the template.

Why does this not work with community builder emails? Did I miss something?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 4 months ago #266755 by krileon
Replied by krileon on topic Problem with email and Mandrill

Why does this not work with community builder emails? Did I miss something?

I don't know. We're not the developers of Mandrill or their integration. We do not provide support for other developers extensions. Please contact the developer of your extension for support.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
9 years 4 months ago #266757 by timstohr
Replied by timstohr on topic Problem with email and Mandrill
Hey found the error...

The thing is that CMandrill works over the joomla mailing API (libraries) while CB has its own mailing API.

Is it possible to get the CB emails to send them out via Joomla one? That would solve A LOT of problems.

I had encountered this problem beforehand as well...

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

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
9 years 4 months ago #266758 by timstohr
Replied by timstohr on topic Problem with email and Mandrill
CB auto actions?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 4 months ago #266762 by krileon
Replied by krileon on topic Problem with email and Mandrill
CB has its own mailer API. No, CB has no option to use Joomlas (nor is one planned at this time). CB provides CB triggers to override our mailer API so your integration would need to use those triggers to do so. No, CB Auto Actions can't override our mailer API and you'd just end up with double emails. Specifically the below triggers are for our mailer.

onBeforeCreateMailer
Code:
$_PLUGINS->trigger( 'onBeforeCreateMailer', array( &$mail, &$from, &$fromname, &$subject, &$body ) );
onAfterCreateMailer
Code:
$_PLUGINS->trigger( 'onAfterCreateMailer', array( &$mail, $from, $fromname, $subject, $body ) );
onBeforeSendMail
Code:
$_PLUGINS->trigger( 'onBeforeSendMail', array( &$mail, &$from, &$fromname, &$recipient, &$subject, &$body, &$mode, &$cc, &$bcc, &$attachment, &$replyto, &$replytoname, &$properties, &$error ) );
onAfterSendMail
Code:
$_PLUGINS->trigger( 'onAfterSendMail', array( $mailsSent, $mail, $from, $fromname, $recipient, $subject, $body, $mode, $cc, $bcc, $attachment, $replyto, &$replytoname, $properties, $error ) );


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum