Questions tagged [plugin-sproutemail]

39 questions
3
votes
1 answer

Send sprout email programmatically

I'm trying to send a sprout email from my plugin like so: use barrelstrength\sproutbaseemail\mailers\DefaultMailer; use barrelstrength\sproutbaseemail\SproutBaseEmail; use barrelstrength\sproutbaseemail\elements\NotificationEmail; use Craft; use…
Mr.Smithyyy
  • 175
  • 6
3
votes
1 answer

Is there a way to import recipients into a list in Sprout Email?

I have a couple of excel sheets with a list each of recipients for my e-mail campaigns. Is there a way to import that into Sprout Email? If not, I would really appreciate a pointer to where I could look to start hacking/building my own importer.
peirix
  • 431
  • 4
  • 23
3
votes
1 answer

Sprout Email - accessing custom fields

I'd like to set up a notification if an entry is saved in a the section 'memberNewsFeed'. The data that I would like to access is the entry title and url, and the user who made the change. Can anybody advise of the syntax to input into rich text…
Adam Menczykowski
  • 1,390
  • 11
  • 22
2
votes
1 answer

Sprout Email variables in custom fields aren’t replaced after update

I updated Sprout Email from 4.0.8 to 4.4.9, along with Craft now being at 3.6.15. Since then the variables inside my (redactor) custom field aren’t replaced anymore. The email template ist basically the example template outputting basic html and: {{…
medoingthings
  • 949
  • 9
  • 16
2
votes
1 answer

Sprout Email: object variables will not resolve in text and redactor field since upgrade

I upgraded my whole system: Craft Pro (2.9.2 to 3.5.15.1), Sprout Email Pro (2.4.7 to 4.4.8), and several others. After fixing many errors, most occurred with Sprout Email, I now have only one major problem with Sprout Email: object variables will…
Sanbo
  • 129
  • 9
2
votes
1 answer

Saving entries with FeedMe doesn't trigger Sprout notification email

So I have a FeedMe task that runs and updates a custom field for a select amount of entries. In my notification email, I have a custom rule like so: {% if object.customField | length and object.customField == 'hello' %}{{true}} {{else}} {{false}}{%…
Mr.Smithyyy
  • 175
  • 6
2
votes
1 answer

Set Recipient in Sprout Email Notification

Okay, so similar issue to this question (Sprout email notifications - setting the recipient?). I must be doing something stupid here because. Trying to set the recipient from an entry form, with a hidden field:
Ian Ebden
  • 894
  • 6
  • 12
2
votes
1 answer

Custom event not sending notification email

I'm creating a plugin called "Membership" to handle user subscriptions through Stripe. I want to use SproutEmail to handle notification. I've created a custom event as per the Sprout instructions:
2
votes
1 answer

Send Emails to dynamic list of recipients

I would like to send an Email to a dynamic list of recipients with SproutEmail. I've created a Plugin that adds custom element actions in the users indexview that raise a custom SproutEmailEvent to send a Notification. The event works fine already,…
exophunk
  • 383
  • 2
  • 7
2
votes
1 answer

What's the correct syntax for recipients in Sprout Email?

I've got a form creating an entry in a Bookings channel which contains two fields, an Entries field (eventBooking) and a Users field (userBooking). I'm trying to get Sprout Email to send an email to the user selected in userBooking. Can anyone help…
darylknight
  • 3,290
  • 18
  • 42
2
votes
1 answer

Entry saved trigger not working

Using the Sprout Email plugin. The only notification triggers that are working are related to users. Any notifications with triggers related to entries (created, updated, deleted) do not send an email, not even a test email. I'm using Craft Client…
Ryan James
  • 41
  • 3
1
vote
1 answer

Sprout Email PHP Warning

Trying out Sprout Email on a fresh local (MAMP/PHP 7.1) install, and whenever I try and create a new Notification I get PHP Warning – yii\base\ErrorException get_class() expects parameter 1 to be object, string given in…
Ian Ebden
  • 894
  • 6
  • 12
1
vote
1 answer

NotificationEmailEvents class not found

I'm trying to follow along with the guide on creating custom notification events in a plugin found here: https://sprout.barrelstrengthdesign.com/docs/email/custom-notification-events.html#register-event I used their example Manual class as my…
Mr.Smithyyy
  • 175
  • 6
1
vote
0 answers

Sprout Email with Mailchimp

Currently I am using Sprout Email 2.4.7 to send newsletter mailings to mailchimp. I am trying to prefill email.fromName, email.fromEmail, email.replyTo with default values so these don't need to be entered every time a new mailing is being set up in…
MisterMike
  • 511
  • 3
  • 12
1
vote
1 answer

Sprout Email trigger when entry goes live

In Sprout Email is it possible to set a notification trigger to be when an entry goes live? I'd like to create entries ahead of time and post date them so that they go live on the specified date. I'd like the Sprout Email notification to get…
Lori
  • 866
  • 6
  • 18
1
2