OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
sendy
/
includes
/
app
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/18/2021 10:11:21 AM
rwxr-xr-x
📄
check-email-verification.php
1.53 KB
11/18/2021 09:46:14 AM
rw-r--r--
📄
create.php
8.6 KB
11/18/2021 09:46:14 AM
rw-r--r--
📄
delete-logo.php
919 bytes
11/18/2021 09:46:14 AM
rw-r--r--
📄
delete.php
2.86 KB
11/18/2021 09:46:14 AM
rw-r--r--
📄
download-errors-csv.php
1.3 KB
11/18/2021 09:46:14 AM
rw-r--r--
📄
duplicate.php
2.28 KB
11/18/2021 09:46:14 AM
rw-r--r--
📄
edit.php
8.45 KB
11/18/2021 09:46:14 AM
rw-r--r--
📄
generate-password.php
1.57 KB
11/18/2021 09:46:14 AM
rw-r--r--
📄
main.php
1.66 KB
11/18/2021 09:46:14 AM
rw-r--r--
📄
progress.php
881 bytes
11/18/2021 09:46:14 AM
rw-r--r--
📄
verify-email.php
2.27 KB
11/18/2021 09:46:15 AM
rw-r--r--
📄
verify-login-email.php
808 bytes
11/18/2021 09:46:15 AM
rw-r--r--
Editing: check-email-verification.php
Close
<?php include('../functions.php');?> <?php include('../login/auth.php');?> <?php require_once('../helpers/EmailAddressValidator.php'); ?> <?php //------------------------------------------------------// // VARIABLES // //------------------------------------------------------// //From email validation $from_email = isset($_POST['from_email']) ? $_POST['from_email'] : ''; $auto_verify = $_POST['auto_verify']=='no' ? false : true; $validator = new EmailAddressValidator; if (!$validator->check_email_address($from_email)) { echo 'Invalid email'; exit; } //------------------------------------------------------// // FUNCTIONS // //------------------------------------------------------// //Check if from email is verified in SES console if(!get_app_info('is_sub_user') && get_app_info('s3_key')!='' && get_app_info('s3_secret')!='') { if(verify_identity($from_email)=='unverified') { //Attempt to verify the email address, a verification email will be sent to the 'From email' address by Amazon SES if($auto_verify) $ses->verifyEmailAddress($from_email); echo 'unverified'; //From email address or domain IS NOT verified in SES console } else if(verify_identity($from_email)=='pending') echo 'pending verification'; //From email address or domain is 'pending verification' in SES console else if(verify_identity($from_email)=='verified') echo 'verified'; //From email address or domain IS verified in SES console } ?>