Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP Mail Function Reply To: PHP Mail Function

#151509
__
Participant

Note: this doesn’t have anything to do with the PHP mail function.

preg_match( 
    '/@([\w\d_-]{2,}\.[\w]{2,})\?/'
   ,'mailto:[email protected]?subject=Feedback'
   ,$matches
);

print $matches[1];
/* prints

abc.com

*/

However, I don’t think that’s the “whole answer” that you’re looking for. Please explain a bit more about what you are doing.