Verify Emails

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Verify Emails

samuel muiruri
There's a python package for validating emails exists "validate_emails" https://pypi.python.org/pypi/validate_email think it would be useful to include it's features inside django so you can parse if emails exists before sending so you only send emails to those emails that do exists and also use it to get back those that don't so you can remove them from your list like dummy emails provided to your subscription page.

--
Best Regards,
Samuel Muiruri.
Student in Machine Learning & a veteran web developer.

Virus-free. www.avast.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJZFZXqyb9LQEmU_DHy1QToA6y1tmq3vwDBq28X%3DLYDxZgdstw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Verify Emails

Jani Tiainen
Hi,

Nothing prevents you to create django validator that does use that package.

Including functionality that package provides would add more dependencies to Django (pyDNS) which greatly reduces chances to get existence verification into Django itself.

And Django already has email validator built-in.

la 7. huhtikuuta 2018 klo 10.32 Samuel Muiruri <[hidden email]> kirjoitti:
There's a python package for validating emails exists "validate_emails" https://pypi.python.org/pypi/validate_email think it would be useful to include it's features inside django so you can parse if emails exists before sending so you only send emails to those emails that do exists and also use it to get back those that don't so you can remove them from your list like dummy emails provided to your subscription page.

--
Best Regards,
Samuel Muiruri.
Student in Machine Learning & a veteran web developer.

Virus-free. www.avast.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJZFZXqyb9LQEmU_DHy1QToA6y1tmq3vwDBq28X%3DLYDxZgdstw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHn91ofF6LFO-vR-_kvfF_%2Bk8Rvmig4h1B8b4MSr9qetRROVyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Verify Emails

Anthony Flury
In reply to this post by samuel muiruri
why not use an email validator provided by Django ?

https://docs.djangoproject.com/en/2.0/ref/validators/#emailvalidator

The problem with the pypi module is that to validate that an email
exists it simply looks for server in DNS (which is slightly better than
the Django validator), but that doesn't mean that the :

      * Email server will accept emails from you - or your service
      * or that the user exists on that server ( even if the server exists).

The only real way to validate that an email server is entirely valid is
to send an email to it, asking for a reply. Email parsing will only go
so far.

In theory there is a defined protocol to allow clients to  query email
servers for is valid email addresses - but most servers are set to
ignore those requests - for obvious reasons.


--
Anthony Flury
email : *[hidden email]*
Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>*

On 07/04/18 08:31, Samuel Muiruri wrote:

> There's a python package for validating emails exists
> "validate_emails" https://pypi.python.org/pypi/validate_email think it
> would be useful to include it's features inside django so you can
> parse if emails exists before sending so you only send emails to those
> emails that *do *exists and also use it to get back those that don't
> so you can remove them from your list like dummy emails provided to
> your subscription page.
>
> --
> Best Regards,
> Samuel Muiruri.
> Student in Machine Learning & a veteran web developer.
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
> Virus-free. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [hidden email]
> <mailto:[hidden email]>.
> To post to this group, send email to [hidden email]
> <mailto:[hidden email]>.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJZFZXqyb9LQEmU_DHy1QToA6y1tmq3vwDBq28X%3DLYDxZgdstw%40mail.gmail.com 
> <https://groups.google.com/d/msgid/django-users/CAJZFZXqyb9LQEmU_DHy1QToA6y1tmq3vwDBq28X%3DLYDxZgdstw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b2ad280e-fac2-f95f-d860-194a3046e6c8%40btinternet.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Verify Emails

Hanne Moa
If you do your own email-sending code you can break off the sending after the server sends "RCPT', that'll work regardless.

On 7 April 2018 at 14:27, 'Anthony Flury' via Django users <[hidden email]> wrote:
why not use an email validator provided by Django ?

https://docs.djangoproject.com/en/2.0/ref/validators/#emailvalidator

The problem with the pypi module is that to validate that an email exists it simply looks for server in DNS (which is slightly better than the Django validator), but that doesn't mean that the :

     * Email server will accept emails from you - or your service
     * or that the user exists on that server ( even if the server exists).

The only real way to validate that an email server is entirely valid is to send an email to it, asking for a reply. Email parsing will only go so far.

In theory there is a defined protocol to allow clients to  query email servers for is valid email addresses - but most servers are set to ignore those requests - for obvious reasons.


--
Anthony Flury
email : *[hidden email]*
Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>*

On 07/04/18 08:31, Samuel Muiruri wrote:
There's a python package for validating emails exists "validate_emails" https://pypi.python.org/pypi/validate_email think it would be useful to include it's features inside django so you can parse if emails exists before sending so you only send emails to those emails that *do *exists and also use it to get back those that don't so you can remove them from your list like dummy emails provided to your subscription page.

--
Best Regards,
Samuel Muiruri.
Student in Machine Learning & a veteran web developer.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>     Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email] <mailto:[hidden email]>.
To post to this group, send email to [hidden email] <mailto:[hidden email]>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJZFZXqyb9LQEmU_DHy1QToA6y1tmq3vwDBq28X%3DLYDxZgdstw%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAJZFZXqyb9LQEmU_DHy1QToA6y1tmq3vwDBq28X%3DLYDxZgdstw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b2ad280e-fac2-f95f-d860-194a3046e6c8%40btinternet.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACQ%3DrrerKw57kNSHnG77CDg7L%2B1NzyiDCkv1yPWOHDkW%2B8bqTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.