Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Using CodeIgniter
General Help
Validate email really exists
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
Validate email really exists
CINewb
Member
Posts:
79
Threads:
17
Joined:
Apr 2016
Reputation:
3
#4
05-19-2016, 02:43 AM
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
twpmarketing
- 05-19-2016, 08:20 AM
RE: Validate email really exists
- by
skunkbad
- 05-19-2016, 01:53 PM
RE: Validate email really exists
- by
twpmarketing
- 05-19-2016, 02:17 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
slipdiegoknot
- 05-23-2016, 08:34 AM
RE: Validate email really exists
- by
Andy N
- 05-23-2016, 08:30 AM
RE: Validate email really exists
- by
chrisedwards
- 05-07-2019, 01:05 PM
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
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB