Drupal 5.10
PHP 5.2.6
In testing registrations with the module enabled, I am not getting any error messages during user registration, or log messages showing that I am using a disposable email address. I am validating that the email addresses are not valid (i.e., DEA) by going to undisposable.net and using the Try Now! at the top of the page.
A sample e-mail address that is shown as not valid by undisposable.net is: bob@temporaryinbox.com
Using that same e-mail address when creating an account shows no warning, provides no log message, and the account is created as normal for the site.
I'm hoping to verify that someone is seeing the module work as expected. And also if there is something specific I should be doing to troubleshoot this further.
Thanks.
Comments
Comment #1
phdhiren commentedNot working for me too for both Drupal 5 and Drupal 6.
I think this due to http://www.undisposable.net/services/php/isDisposableEmail/?email=phd@te... gives the blank response.
Comment #2
scoutbaker commentedI get a response using the link you provided.
Comment #3
mustafau commentedSorry, I do not have time to look into this. If you submit a patch I will review it.
Comment #4
phdhiren commentedI suppose, sometimes the response from undisposable.net is blank and sometimes it comes as it is expected.
As the module is depends on third party web service it always not gives expected result. :(
Comment #5
scoutbaker commentedThis does not seem likely for my reported issue. My particular testing was done over multiple days, at different times. I also checked the status of the e-mail address before and after registering it on my test Drupal site.
Your comment does bring up an interesting thought regarding error handling. How does this module respond if it gets no response from the service? As an example, the Mollom module allows you to specify what you want it to do if it does not get a response.
Comment #6
phdhiren commented@ScoutBaker : Agreed, There should be alternative in case of error occurs.
Comment #7
mustafau commentedSeems like a reasonable feature request.
Comment #8
scoutbaker commentedThe is still a bug report. Addresses identified as disposable at undisposable.net are being allowed to register in Drupal.
The extra conversation in #4/#5 would indeed make a feature request. I'm far more concerned with proper operation which does not currently seem to be working.
Comment #9
phdhiren commented@ScoutBaker: Code at our end is in our control, while the response given by the third party website is not always in our control (Here it is http://www.undisposable.net/ ) Every time I request http://www.undisposable.net/services/php/isDisposableEmail/?email=phd@te... ,
It should return either of the following
a:2:{s:4:"stat";s:2:"ok";s:5:"email";a:1:{s:12:"isdisposable";b:1;}}
OR
a:2:{s:4:"stat";s:2:"ok";s:5:"email";a:1:{s:12:"isdisposable";b:0;}}
But in some case it returns blank page. (may be problem with the website)
That is the case when the module is not allowing to validate email such as bob@temporaryinbox.com
I think this discussion should be either continue at http://www.undisposable.net/ OR we need have some error mechanism at our module's code and discuss what to be done when it returns blank.
Comment #10
scoutbaker commentedJust another update on this.
@phdhiren: I never see a blank page returned from undisposable.net. I have continued testing by checking the response immediately before and after registering an email address that I know is disposable.
@mustafau: If there is something I can do to try and troubleshoot this further, please let me know.
Thanks
Comment #11
mustafau commentedThere was a typo in the function "_undisposable". I committed a fix to all branches.
Thank you for this report.
Comment #12
scoutbaker commentedJust reporting that the issue is indeed fixed in the 5.x-1.x-dev release.