Gravity forms - bulk resend notifications errors
So, I'm using the entries in a form to do a bulk resend notification to everyone (at this point 66 email addresses). I kept trying and it would never finish. So, figuring it was a limitation of the email server (say 50, maybe?), I broke it down to 20 for each send. The first and second 20 went fine; the third did not. In reading the docs on the GF site, I discovered (and had seen before, but didn't realize the significance) that each record gets annotated with the status of the send. So, I simply had to view each and every record to discover which one hadn't sent. Once I found that record, I was able to select all the other records and send to them successfully.
I can't think of an easier way to discover which one is preventing the send from continuing. There's nothing annotated in the offending record, so no indication that it was the culprit. I could only tell because every record before it in the list had sent successfully. But I had to view every single record starting from the top (of that 20, in this case) in order to find it. Maybe I should just always send in batches, but it's a little less convenient than sending to all.
Just wondering if there's any way to see why it's failing. Does the system get anything back from our email server? If so, does it end up anywhere where I could see it?
Merle
Asked 2 years ago on April 18, 2022 2:03 AM Comments 3 times
Merle Hall replied 2 years ago on April 19, 2022 6:34 PM
I couldn't remember how to get to the SMTP plugin settings; I was going to check there but couldn't find it in the menu or any settings. The log link Andrew sent nets me: Sorry, you are not allowed to access this page.
The users themselves are entering the email addresses, but it doesn't make them retype it. I suppose I could enter it twice in the form and make them do so until they're equal, maybe, but that probably wouldn't prevent them from copying/pasting a bad one. Could be that this person is no longer at this place of employment, too. Guess you never know. Oh, but I guess I do know that that one was typed in from a paper form, so who knows.
I've turned the Gravity logging back off for now, but thanks for pointing that out, Andrew.
Merle
Tim Gossett replied 2 years ago on April 19, 2022 4:43 PM
Hi Merle - was Andrew's answer helpful in getting you going again?
I do think there's definitely a risk you take if you don't have verified addresses. MailChimp, for example, won't allow you to import bad emails (I'm not quite sure how exactly that works, to be honest.) A bad address here and there will obviously happen, but they can put you at risk with email services.
Tim
Andrew Olmstead replied 2 years ago on April 19, 2022 4:55 AM
It looks like your SMTP plugin keeps a log of the most recent 250 emails, and I'm seeing some logged emails with the "This email doesn't exist" status (starting on page 3 on my end)- https://grangereumc.org/wp-admin/admin.php?page=postman_email_log
Judging from the timestamps it looks like there's an email address that doesn't exist anymore, and it cancelled the entire bulk process when it tried to send to it. It possible one of the softwares involved is just being annoying (and just stopping the entire process instead of skipping/continuing), but it might be intended functionality, since I think having a lot of bounced emails puts a mailing service at higher risk of their emails going to spam folders?
I can't find any easier ways to see exactly entries have sent notifications, but from the SMTP mail log it looks like it sent out the emails one-by-one in the same order they're listed in the Entries page. So you might be able to just resend the notifications for entries that were submitted after the one with the bad email? Like if you send 50 emails and it fails at #31, manually resending #32-50 might work.
For now I've also enabled logging in Gravity Forms to see if that gives any more helpful info, but it can contain potentially private info so we'll want to turn it off after we're done with it- https://grangereumc.org/wp-admin/admin.php?page=gf_settings&subview=gravityformslogging