]> git.mxchange.org Git - friendica.git/blob - mod/mail.php
redirect to contact editor after introduction approval
[friendica.git] / mod / mail.php
1 <?php
2
3
4 function mail_post(&$a) {
5
6         // handles mail created by me, or mail posted to my profile page.
7         // If remote we must have a DFRN-url.
8
9         if((x($_POST,'dfrn_url')) && (strlen($_POST['dfrn_url']))) {
10                 // get post params
11                 $remote = true;
12                 
13                 // check blacklist
14
15
16                 // scrape url
17
18
19
20                 // sanitise
21
22                 // store
23
24
25                 // notify
26
27
28         }
29
30         if(local_user()) {
31
32
33                 // get data
34
35
36                 // sanitise
37
38
39                 // store
40
41
42                 // notify
43
44
45
46
47         }
48         
49
50
51
52
53
54
55
56
57 }
58
59
60 function mail_content(&$a) {
61
62         // remot mail
63
64
65         // list mail
66
67
68
69
70
71         // read message
72
73
74
75
76         // reply
77
78
79
80
81         // new mail
82
83
84
85 }