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 #186041 is a reply to message #186037] Thu, 05 June 2014 03:05 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 6/4/2014 8:48 PM, The Natural Philosopher 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?
>
>

The only way you can do this is to send an email to the address they
specify and require a response. While you can determine if a domain
name is invalid, there is no way to determine whether an email within a
domain is valid without requiring a response from that email address.

I know you won't see this, but others who might have a similar question
will.


--
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex(at)attglobal(dot)net
==================
[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: Wed Jun 12 02:54:41 GMT 2024

Total time taken to generate the page: 0.05694 seconds