how to send mail from localhost xampp code example Example: how to use xampp localhost cd my-project php -S localhost:8000