FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » testing email deliverability...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: testing email deliverability... [message #186051 is a reply to message #186037] Thu, 05 June 2014 18:39 Go to previous messageGo to previous message
Adrienne Boswell is currently offline  Adrienne Boswell
Messages: 25
Registered: October 2010
Karma:
Junior Member
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote

> I have web contact pages which are used by anyone to send enquiries.
>
> I want to make sure that anyone using them has a valid reply address
set
> in a web form BEFORE I forward the message on to the site
administrators.
>
>
> Mailer is exim, and that's currently but not necessarily invoked by the
> php mail() function.
>
>
> what I want is a function like
>
> is_valid_mail("user12345(at)gmail(dot)com")
>
> that will return true or false if gmail accepts the user as known (yes
> the spam is always @gmail.com) WITHOUT having to write a dns mx lookup,
> then connect to socket 25 and etc etc etc..
>
> exim -bt tells me if the domain is valid, but not the user.
>
> I am not particular how its achieved - anything can be merged into the
> existing code.
>
> anyone done this?
>
>

As others have said, there really is no reliable way to do this, other
than actually sending an email and waiting for a response. Groupmail by
Infacta does have the ability to verify addresses in a list. It waits
for a response back and whatever the undeliverable response is, invalid
domain, invalid user, full mailbox, etc. This allows you to keep clean
email lists.

But, that is not going to help you in your application. I have several
email addresses, and if I want a response back to something, then I use
my primary email address. If it's something I think is going to add me
to some mailing list, then I use one of the other ones.

So, you could put something on your form like:

"Please use a valid email address. Your issue will not be addressed if
our email to you is returned."

--
Adrienne Boswell
Arbpen Web Site Design Services - http://www.cavalcade-of-coding.info/
The Good Plate - Fresh Gourmet Recipes - http://the-good-plate.com/
Please respond to the group so others can share
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Classic Arcade Games for Windows
Next Topic: Re: PHP and Sqlite Encryption extension
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 03:42:01 GMT 2024

Total time taken to generate the page: 0.04224 seconds