-
Notifications
You must be signed in to change notification settings - Fork 0
/
sendEmail.php
25 lines (18 loc) · 776 Bytes
/
sendEmail.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
function send_conf($user, $email, $hash)
{
$subject = 'Confirmation for a FutureSend account';
$message =
'Thanks for signing up!
You have requested for a FutureSend account with the following USERNAME: '.$user.'.
You can login with the following credentials after you have activated your account by pressing the url below.
Please click this link to activate your account:
http://web.engr.illinois.edu/~aagrawl3/verify.php?user='.$user.'&email='.$email.'&hash='.$hash.'
If you are not sure you have created an account here, you can go here: http://web.engr.illinois.edu/~aagrawl3/welcome.php';
imap_mail($email, $subject, $message);
}
function send_mail($email, $subject, $message)
{
imap_mail($email, $subject, $message);
}
?>