Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 23Feb 23 Dear IPS Support,the SendGrid integration was announced as "deprecated" with the latest IPS 4.7.20. https://invisioncommunity.com/release-notes/4720-r132/There was no word of complete removal, but it is! Was this intended or removed by accident? Since the last update to IPS 4.7.20, sending via SendGrid no longer works.A look at the source code quickly makes the cause clear.File: ...\system\Email\Email.phpIPS 4.7.19 (and before)IPS 4.7.20It's not hard to see that the code is doing something completely different.I request that you bring back the old logic for IPS 4.7.x. (or declare SendGrid integration as totally removed, but this wouldn't be nice for the 4.7.x line).Many thanks in advance.
February 23Feb 23 SendGrid should still work if you've previously have had it setup. Just moving forward, we are slowly deprecating it with new users.Are you receiving any errors or what is the exact issue you're having?
February 23Feb 23 Author 4 hours ago, Jim M said:SendGrid should still work if you've previously have had it setup. Just moving forward, we are slowly deprecating it with new users.Are you receiving any errors or what is the exact issue you're having?No, errors are not reported. The emails were send, but with the wrong configuration. The problem is that the IPS Community Suite uses the SMTP email server (our default for sending emails) for the bulk mails instead of the configured SendGrid extension (for bulk mails only).Our main problem is that some mail services (GMX, Web.de, ...) has blocked/blacklisted our server after sending bulk emails in the past. That's the reason why we are using SendGrid to avoid this blacklisting.
February 24Feb 24 13 hours ago, derpunker said:No, errors are not reported. The emails were send, but with the wrong configuration.Please could you explain what you mean here?
February 24Feb 24 Author Again:IPS has sent the emails via SMTP server (general email configuration)But for bulk emails the SendGrid extension is configured but ignored from IPS 4.7.20 softwareIf needed, I can share some screenshots later.
February 24Feb 24 Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.
February 24Feb 24 1 hour ago, Marc said:Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.So... should we just not send e-mails?
February 24Feb 24 27 minutes ago, CheersnGears said:So... should we just not send e-mails?That would really be up to yourself of course. But its now in the bug tracker and brought to our developers attention.
February 24Feb 24 35 minutes ago, Marc said:That would really be up to yourself of course. But its now in the bug tracker and brought to our developers attention.Unfortunately, it's even more broken than originally thought.I can enter all of the SMTP relay information into the board settings, send a successful test, save the settings. The next time I come back to that page, it has reverted back to PHP.
February 24Feb 24 42 minutes ago, CheersnGears said:I can enter all of the SMTP relay information into the board settings, send a successful test, save the settings. The next time I come back to that page, it has reverted back to PHP.Make sure that you have unchecked the Use SendGrid on the integrations page before saving the SMTP information.
February 24Feb 24 Additional info - apparently even though the setting shows PHP after saving for SMTP, it still saves SMTP information and uses that. I did some pings through MXToolbox and confirmed.Just now, dmaidon1 said:Make sure that you have unchecked the Use SendGrid on the integrations page before saving the SMTP information.That no longer exists.
February 24Feb 24 There was a bug in an old version (4.7.18 or 19?) where it displayed the wrong email choice. If you update to version 4.7.20 it should be fixed.If you are already on 4.7.20, it might be a different bug instead.
February 24Feb 24 3 minutes ago, teraßyte said:There was a bug in an old version (4.7.18 or 19?) where it displayed the wrong email choice. If you update to version 4.7.20 it should be fixed.If you are already on 4.7.20, it might be a different bug instead.I'm on 4.7.20
February 24Feb 24 Author Just to make it more clear:Email-Settings:Sendgrid configuration:Small IPS extension: (sorry, only in German available)PHP code behind:=> classToUse delivers the wrong result for TYPE_BULKBringing the old code from IPS 4.7.19 for this function back, let the system behave as execpted and before the latest update.Hopefully the bug in the latest IPS version is clearly described now.
February 24Feb 24 Yes:)@Stuart Silvester has submitted a fix for this today which should be included in our next release.
February 24Feb 24 Author Thanks for have a look and fixing it so quick.Let's hope that the next release will come very soon. 🙂
February 25Feb 25 We have released a patch to address this issue. Please go to AdminCP > System > Support and apply the patch from the first/top left box. If you do not see an option to install the patch, you already have the latest release.
February 25Feb 25 I don't seem to have gotten my Sendgrid integration back after the update, nor is the SMTP/PHP option functioning correctly. (Works under SMTP, but the setting doesn't visually reflect that)