-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmail.php
More file actions
22 lines (16 loc) · 748 Bytes
/
mail.php
File metadata and controls
22 lines (16 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
$email = "joschua.hass.sh@gmail.com";
$to = $email; // Send email to our user
$subject = 'Signup | Verification'; // Give the email a subject
$message = '
Thanks for signing up!
Your account has been created, you can login with the following credentials after you have activated your account by pressing the url below.
------------------------
Username: '.$username.'
------------------------
Please click this link to activate your account:
http://www.vtc.northwestvideo.de/verify.php?email='.$email.'&hash='.$activate_hash.'
'; // Our message above including the link
$headers = 'From:service@northwestvideo.de' . "\r\n"; // Set from headers
mail($to, $subject, $message, $headers); // Send our emai
?>