Hello – as i understand the email notification of EOT is under development correct ?
I mean that when the subsription time will expire user shoud be notified of this fact by email containing information on how he coud renew it.
I’ve made my own temporary sollution that i’d like to share with you. I wanted to consult with someone experienced if script i’ve made wont cause any security/general issues.
Basicly idea was to put this somewhere on my FTP server :
$email_to = $_GET['email'];
$email_subject = "Eot Notification";
$first_name = $_GET['name'];
$email_from = "email@example.com";
$email_message = "Hello ".$_GET['name']."\nYour subsribtion of XXX has expired. To refresh subscription : href \n\n";
// create email headers
$headers = 'From: '.$email_from."\r\n".
'Reply-To: '.$email_from."\r\n" .
'X-Mailer: PHP/' . phpversion();
@mail($email_to, $email_subject, $email_message, $headers);
<!-- include your own success html here -->
as eot.php file. Then in API Notifications -> EOT/Deletion Notification URLs i put the:
And in theory user shoud recive an email when the EOT occurs.
Questions are :
1. Will this work without causing any security/general issues ?
2. How to avoid email landing in spam box.
3. Am i missing something important here ?
Not sure if its safe to impement so i wil really aprecieate any comments on this.