Home « Server software «
Documentation: users/mail.php
users/mail.php - Mail a message to a user
Senders can select to get a copy of messages.Long lines of the message are wrapped according to Dan's suggestion.
Surfer signature is appended to the message, if any. Else a default signature is used instead, with a link to the front page of the web server.
Senders can select to get a copy of messages.
Messages are sent using utf-8, and are base64-encoded.
Restrictions apply on this page:
- associates are allowed to move forward
- access is restricted ('active' field == 'R'), but the surfer is an authenticated member
- public access is allowed ('active' field == 'Y') and the surfer has been logged
- permission denied is the default
This script prevents mail when the target surfer has disallowed private messages.
If the file
demo.flag
exists, the script assumes that this instance
of YACS runs in demonstration mode, and the message is not actually posted.The edition time is not limited at all. Some Javascript code polls the server in the background to ensure that session data is not lost during all the time the browser window is opened.
Accepted calls:
- mail.php/<id>
- mail.php?id=<id>
This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
Testeurs:
- Jan Boen
- Guillaume Perez
- Pierre Robert