Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

85 lines
552 B

<?php
function mail_post(&$a) {
// handles mail created by me, or mail posted to my profile page.
// If remote we must have a DFRN-url.
if((x($_POST,'dfrn_url')) && (strlen($_POST['dfrn_url']))) {
// get post params
$remote = true;
// check blacklist
// scrape url
// sanitise
// store
// notify
}
if(local_user()) {
// get data
// sanitise
// store
// notify
}
}
function mail_content(&$a) {
// remot mail
// list mail
// read message
// reply
// new mail
}