Today I made public my implementation of Casper’s subscribe functionality (functionality that I linked to in a recent thread). While everything worked fine during my testing and at the initial stages of its public launch, I soon started getting emails from people saying that they were getting the “Please enter a valid email address!” message even though they were most certainly entering vaild email addresses.
I tested things again with my personal email address, and it worked perfectly fine for me. When I tested with the email addresses of my readers of which apparently hadn’t worked, lo and behold, they didn’t work. I tried mine again and things still worked fine.
An hour or so later I went back again and tried my same personal email address that had consistently worked, and this time it didn’t work. I kept trying several others (with different domains) and now nothing would work at all.
Towards the end of the day I noticed that somebody was somehow able to subscribe, their email address being a @gmail.com account. I tested my @gmail.com account and it worked as well, although attempting to use any of the previously failed email addresses would work.
I’d like to debug this, so what I’m wondering is: what exactly is determining that these valid email address supposedly aren’t? Is it being determined by Ghost or is this something to do with the Mailgun connection? And if it’s something to do with Mailgun (it’s deeming the domains of these email addresses as spam/untrustworthy?) would it be related to the data I’ve inputted into my config.production.json file or the data I’ve inputted into the Members dashboard?
Thanks for any help!