Hello there,
I was wondering if you have any plans to upgrade this module to drupal8.
https://www.drupal.org/project/drupalmoduleupgrader is believed to help with this.
I will gladly test and provide any useful feedback promptly, as this is now for me and many others the standard transactional email system out there for smaller volumes with mandrill changing their policy.
Kind regards
Phil
| Comment | File | Size | Author |
|---|---|---|---|
| #26 | 2686237-filename-typo-26.patch | 221 bytes | kscheirer |
Comments
Comment #2
perignon commentedYes a D8 version is planned. I maintain seven other modules and planning to upgrade them all.
I got the email about Mandrill as I have an account with them as well but I don't use it anymore. I moved to Sendgrid for Transactional emails and have never looked back.
I was going to start the D8 branch this weekend in all of the modules I maintain. I need to get more D8 work done so I can eventually move all of my sites to D8.
Comment #3
kingfisher64 commentedWell I'll help where i can testing and will keep my eye on this module specifically. Probably think this could be a very highly used module by the community in future for d8.
Thanks Perignon for all your hard work. :)
Comment #4
perignon commentedComment #5
Nikeev commentedHello,
I've made a basic SendGrid integration module for Drupal 8. It's not direct port from 7.x version and it has no upgrade path. Module mostly based on Mandrill module code.
Current features are:
Link: https://github.com/Nikeev/drupal_sendgrid
Hope, it will be helpful.
Comment #6
mikey_p commentedI have a more straightforward port of the SendGrid module available here: https://github.com/mikeyp/sendgrid_integration. The reporting module hasn't been upgraded yet, but everything else is working. Due to the way Maillog for D8 works, this module no longer provide integration with Maillog, although it could be added back in.
Comment #7
perignon commentedWhat is up with Maillog?
It is only in the D7 version for testing and none of the code works if the module is not present.
Comment #8
perignon commentedOh yeah and thanks for the code. This was exactly the solution I was hoping would appear. I just don't have any time to code for D8 yet because my sites are all D7 and cannot migrate.
Comment #9
kingfisher64 commentedWould it be possible for mikey_p or Nikeev's Drupal 8 versions to be used instead so there's an official release of the module on drupal.org?
Many thanks
Comment #10
perignon commentedPlanning on it. Just haven't had the time. I will see if I can squeeze a little work in today on this.
Comment #12
perignon commentedI got the code committed. Working through testing before I take a beta release.
Comment #13
perignon commentedRight now it looks like the tests are broken. The code could work, but there is no test coverage right now.
Comment #14
perignon commentedI added a dev release to the project page.
Comment #15
kingfisher64 commentedIn response to #13, installed and tried to send test email. Got:
Fatal error: Class 'SendGrid\Client' not found in modules/sendgrid_integration/src/Plugin/Mail/SendgridMail.php on line 135I'll gladly test this to help :)
Comment #16
perignon commented@kingfisher64 did you run
composer updateafter you installed it?Comment #17
kingfisher64 commentedEdit: Have done but "run the module's init.php script on the command line" composer manager is in report so I suspect it's nothing to do with module but my installation.
Comment #18
kingfisher64 commentedCan confirm that all appears to be working fine. There's no error messages and test message feature working fine.
Thumbs up!
Thanks Perignon, mikey_p, Nikeev
Comment #19
perignon commentedAwesome. Will get a release cut this week.
Comment #20
kingfisher64 commentedRe-checking report log showes the following output:
Drupal\Component\Plugin\Exception\PluginException: Plugin (SendGridResendQueue) instance class "Drupal\sendgrid_integration\Plugin\QueueWorker\SengridQueue" does not exist. in Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() (line 97 of core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php).Comment #21
perignon commentedMaybe someone else can chime in. Right now I am not using Drupal 8 on any production site so I cannot test this.
Comment #22
kingfisher64 commentedShould point out it's still working. Test email received fine. Just outputting the above :)
Comment #23
kscheirerI've gotten the "instance class does not exist" error when I forget to add the proper namespace, I will take a look. Thanks for the D8 version so far!
Comment #24
mikey_p commentedIt's a typo in the filename: SengridQueue is missing a 'd'
Comment #25
kscheireredit - bad patch!
Comment #26
kscheirerPatch attached, thanks mikey_p!
Comment #28
perignon commentedThanks for the patch & fix. I just pushed it.
Comment #29
kscheirerThanks, its working well so far. @Perignon how do you feel about a release for D8?
Comment #30
perignon commentedI feel fine about a release if you guys do :-)
Comment #31
kscheirer+1 for release! I plan to use this in a production environment launching soon.
Comment #32
matt bI've just tried to install and use the latest 8.x dev release. I have installed, set the sendgrid api key, and go to send a test email and get the error
Message Error: Class 'SendGrid\Client' not found in Drupal\sendgrid_integration\Plugin\Mail\SendGridMail->mail()I did not seen drush running composer to install any libraries when I installed the module? http://cgit.drupalcode.org/sendgrid_integration/tree/README.md?h=8.x-1.x says "PHP dependencies for this module are loaded via Composer in Drupal 8." - how do I do that specifically? I've run 'composer update'? (Sorry, but I miss the days when you could just download a library and use it)
Comment #33
perignon commentedSee here: https://www.drupal.org/node/2718229#managing-contributed
Comment #34
matt bThanks Perignon
That link helped, and I found this to be an even better explanation (maybe I'll try to build my next d8 using composer): https://www.lullabot.com/articles/goodbye-drush-make-hello-composer
I used the following incantations:
and it is all working perfectly now.
You could consider making the readme file a little more explicit for D8 newbies like myself.
Thanks for this great module!
Comment #35
perignon commentedI already updated the README!
Comment #36
paulmckibben+1 for creating a Drupal 8 release. I just installed and configured this for a client. Worked great!
Comment #37
perignon commentedI'm working on an upgrade of the API wrapper to the SendGrid's V3 API. After that I will start looking at D8.
Comment #38
damienmckennaGood work everyone! There's a 1.0 release out, so any other changes should go into new issues.