Welcome Guest, Not a member yet? Register   Sign In
Validate email really exists
#4

You can also use PHP's getmxrr() function to see if a hostname has an MX record:

if (getmxrr('hostname.com')) {
echo 'Has at least one MX record so send an email';
}

However this doesn't guarantee an address exists, only that a hostname is setup to receive email.
Reply


Messages In This Thread
Validate email really exists - by slipdiegoknot - 05-18-2016, 05:22 PM
RE: Validate email really exists - by cartalot - 05-18-2016, 06:07 PM
RE: Validate email really exists - by orionstar - 05-18-2016, 07:44 PM
RE: Validate email really exists - by CINewb - 05-19-2016, 02:43 AM
RE: Validate email really exists - by skunkbad - 05-19-2016, 01:53 PM
RE: Validate email really exists - by skunkbad - 05-19-2016, 05:26 PM
RE: Validate email really exists - by PaulD - 05-19-2016, 02:56 PM
RE: Validate email really exists - by acsv - 05-19-2016, 03:37 PM
RE: Validate email really exists - by Andy N - 05-23-2016, 08:30 AM
RE: Validate email really exists - by wolf - 09-25-2019, 11:13 PM
RE: Validate email really exists - by InsiteFX - 09-27-2019, 08:28 AM
RE: Validate email really exists - by valval - 10-29-2019, 08:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB