Last active
June 23, 2024 23:03
-
-
Save Shakil-Shahadat/67f8940804c3debc8761d9656155f882 to your computer and use it in GitHub Desktop.
[ Delete ] Send Email Using PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$to = '[email protected]'; | |
$subject = 'Test mail'; | |
$message = 'Hello! This is a simple email message.'; | |
$from = '[email protected]'; | |
$headers = 'From: ' . $from; | |
mail( $to, $subject, $message, $headers ); | |
echo 'Mail Sent.'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.