1. Hugh Messenger
  2. Wishlist
  3. Saturday, 05 January 2013
  4.  Subscribe via email
Awesome plugin.

One request ... can you provide a mechanism for setting some of the optional parameters for the API's send method?

Specifically, I need to set preserve_recipients to false, in order to hide the full recipient list in the delivered email.

What would be nice would be the ability to both:

1) specify optional params in the global plugin settings, maybe as a simple JSON string like {"preserve_recipient":false, "tags":["some extra tags"]}, formatted as per the API spec.

2) provide them programmatically at run time, probably through $input->set() and get(). So as an extension author, I can do a $input->set('mandrill_send_options', '{"preserve_recipients":true,"tags":"foo bar"}') before I call J!'s mail API to send my mail.

-- hugh
Responses (5)
Accepted Answer Pending Moderation
PS, while adding the code to your ./mailer/mailer.php to merge in some options from $input->get('mandrill_send_options'), happened to notice a warning being pitched by PHP, abut the uninitialized use of $mAttachments at line 566:

if(count($mAttachments)) {

... which doesn't exist if there are no attachments, as it only gets set inside that if starting at 537.

-- hugh
  1. more than a month ago
  2. Wishlist
  3. # 1
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Hey Hugh,

Thank you for helping with this!

I'm starting a new extension CMandrill, that will allow users to use custom email templates per component etc. Once I'm ready with that I'll have a look at the preserver_recipient option, but isn't this dangerous? As Far as I understand having this option will send the email with everyone visible in the cc field? This could lead to complains about privacy etc.

Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Wishlist
  3. # 2
Accepted Answer Pending Moderation
Yes, exactly. :)

What I was saying was, your plugin as-is was preserving the recipients, i.e. NOT hiding them. I needed to hide them.

I think I'm behind the times though, as it looks like you have released CMandrill since I posted this, so I probably need to get up to date with where you are at with that.

-- hugh
  1. more than a month ago
  2. Wishlist
  3. # 3
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
Really? The plugin right now is not hiding the emails? Really? The plugin should actually send 1 mail to every cc recepient. And there should not be anything in the cc or bcc fields. If that is the case, there must be a bug.
You are of course welcome to send us a pull request:
https://github.com/compojoom/cmandrill
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Wishlist
  3. # 4
Accepted Answer Pending Moderation
I'll make sure I'm up to date on the code and try again. When I originally posted, it was definitely not hiding the recipients on my emails, but you may well have changed the code since then.

Thanks for the quick responses.

Just FYI, I'm one of the authors of Fabrik, an application builder for Joomla, and CMandrill will be a godsend for many of our users, who want to do bulk mailings using Fabrik, but of course run in to all the usual issues with J!'s out-of-box mail options.

-- hugh
  1. more than a month ago
  2. Wishlist
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

Links aus Veranstaltungsübersicht funktionieren ni
Nach der Migration von Joomla 3.10 auf Joomla 5.0.3 treten folgende Probleme auf...
2 Replies
Posted on Monday, 08 April 2024
  • New
  • Custom Hotspot Marker fails to load
    I just updated from Joomla 3 to Joomla 4.3.4 and Hotspots 6.0.12. I decided to e...
    0 Replies
    Posted on Tuesday, 09 April 2024
  • New
  • Language parameter in the link to the comment
    Hello. 1) I have a multilingual website (3 languages). If someone added a comme...
    0 Replies
    Posted on Saturday, 06 April 2024
    No margin between text and map
    Hi, I'd like a margin between the small map and the text. Do you have a sugge...
    6 Replies
    Posted on Friday, 02 February 2024
  • Resolved
  • Text ändern
    Hallo in der Übersicht der Veranstaltungen kann man ja auf "Mehr Informati...
    2 Replies
    Posted on Thursday, 14 March 2024