shadiadiph Posted March 23, 2009 Share Posted March 23, 2009 Is there any easy way just to strip everything from an email address except the host name. example [email protected] to just something.com I want to build in a check ip host before sending mails to save time of incorrect email addresses being entered. Link to comment https://forums.phpfreaks.com/topic/150691-solved-getting-just-the-host-name-from-an-email-address/ Share on other sites More sharing options...
syed Posted March 23, 2009 Share Posted March 23, 2009 I think this is what you want. http://www.snippetbank.net/detail/snippetdetail/4-php/6-network/24-Validate-Email-Domain-With-MX-Record.html Link to comment https://forums.phpfreaks.com/topic/150691-solved-getting-just-the-host-name-from-an-email-address/#findComment-791614 Share on other sites More sharing options...
shadiadiph Posted March 23, 2009 Author Share Posted March 23, 2009 thank you looks much simpler than the way i was going to do it thanks Link to comment https://forums.phpfreaks.com/topic/150691-solved-getting-just-the-host-name-from-an-email-address/#findComment-791618 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.