Create Fathy

This commit is contained in:
Mohamedalnahham 2024-01-20 03:25:38 +00:00 committed by GitHub
parent 0f0b5a9560
commit f55b1942b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 15 additions and 0 deletions

15
Fathy Normal file
View File

@ -0,0 +1,15 @@
<?php
$to = "Fathyel3amry1111@gmail.con";
$subject = "Confirmation";
$message = "Hi , test email .";
$sender_email = "Mohamed.alnahham@adnoc.ae";
$sender_name = "Mohsamed Alnahham";
$headers = "From: $sender_name <$sender_email>";
// Mail function to send the email
mail($to, $subject, $message, $headers);
echo "Email sent successfully!";
?>