|
PmWikiDe /
MailBenachrichtigungnoch zu übersetzen Versuch einer Übersetzung vom 2005-05-23 The mailposts.php script allows a site administrator to configure PmWiki to send email messages whenever pages are changed on the wiki site. MailPosts can be configured so that multiple page changes over a short period of time are combined into a single email message (to avoid flooding a mailbox). DE The MailPosts feature is especially useful for sites that have infrequent updates, eliminating the need to frequently check RecentChanges pages just to see if anything has changed. DE Full configuration details are available in scripts/mailposts.php, but here's the brief synopsis of what needs to go in config.php or a per-group customization script for MailPosts: DE $EnableMailPosts=1; # to enable mailposts $MailPostsTo="somebody@example.com"; # where to send mail $MailPostsDelay=1800; # wait 30+ min after initial post $MailPostsSquelch=7200; # require 2+ hours between mails $EnableMailPosts=1; # aktivieren von mailposts $MailPostsTo="mail@example.com"; # Zieladresse der Benachrichtigung $MailPostsDelay=1800; # 30+ min Sendeverzögerung (in Sek.) $MailPostsSquelch=7200; # mindestens 2+ Stunden zw. den Mails (in Sek.) Note that $MailPostsTo may be a comma-separated list of addresses if multiple recipients are desired. DE $MailPostsTo Für den Fall, dass die Benachrichtigung an mehrere Empfänger gesendet werden soll, müssen die Adressen mit Komma getrennt werden. Since an initial post is often followed by several posts containing minor edits, it's useful to wait a short period of time before sending an email. $MailPostsDelay is the minimum amount of time that must elapse from an initial post before a message is sent. Any additional posts occuring during the delay period are included in the message when it is sent. The message is sent on the first execution of pmwiki.php after the delay period has expired (which for inactive sites could be much longer than the delay period). A delay of zero means to immediately send a message whenever an update is received. $MailPostsDelay Nach einem Posting ist es häufig der Fall, dass der Autor noch kleinere Korrekturen an seinem Text vornimmt. Deswegen ist es sinnvoll eine gewisse Zeit nach der letzten Änderung verstreichen zu lassen, bevor die Benachrichtigung gesendet wird. $MailPostsSquelch specifies the minimum amount of time that must elapse before sending another notification message. This is useful to prevent large number of rapid-succession messages if $MailPostsDelay is set to a small value. $MailPostsSquelch Beschreibt die Mindestzeitspanne zwischen zwei Benachrichtigungsmails. Diese Variablen kann eingesetzt werden, damit bei geringer Wartezeit durch $MailPostsDelay und einer hohen Änderungsfrequenz, nicht unnötig viele Mails verschickt werden. The defaults for $MailPostsDelay and $MailPostsSquelch are 0 and 7200. With these values, an email is sent as soon as a page is changed, and subsequent changes are "held" for at least two hours before being sent in another message. Die Standarteinstellungen für $MailPostsDelay und $MailPostsSquelch sind 0 und 7200. mit diesen Einstellungen wird über eine Seitenänderung sofort informiert, jedoch die zu erwartenden kleineren Änderungen werden gesammelt und nach 2h versendet. The variables used to control MailPosts are given below, and also described in the mailposts.php script. Die einsetzbaren Variablen zur Beieinflussung von MailPosts stehen unten und in mailposts.php auf Englisch. Note for Windows installations!!!Wichtig für Windowsinstallationen Sites running PHP under Windows may not have PHP's mail(approve sites) function configured correctly. Such sites may need to add a line like ini_set('SMTP','smtp.server.com');
to config.php, where smtp.server.com is the name of your host's preferred outgoing mail server. Oftmals sind die Mail-Funktionen(approve sites) von PHP-Engines aud Windowssystemen nicht korrekt konfiguriert. In diesen Fällen muss in die config.php folgende Zeile eingefügt werden: ini_set('SMTP','smtp.server.com');
Dabei ist smtp.server.com die Adresse des Mailservers. MailPosts VariablesMailPosts Variablen<< Sonstige Variablen | Variablen | >>
$EnableMailPosts = 1; # aktiviert mailposts
$EnableMailPosts = 0; # daktiviert mailposts
$MailPostsTo = 'admin@example.com, joe@somewhere.org'; $MailPostsFrom = 'wiki@example.com';
$MailPostsFrom = 'Wiki server <wiki@example.com>';
$MailPostsDelay = 360; # sendet 6+ min nach dem ersten Posting
$MailPostsDelay = 43200; # wartet 12+h zwischen zwei Mails
# Voreinstellung:
$MailPostsItemFmt = ' * $PageName . . . $PostTime by $Author';
# Einfügen der URL (Adresse) in die Benachrichtigung:
$MailPostsItemFmt = '$PageName . . . $PostTime von $Author $PageUrl';
$MailPostsTimeFmt = 'm-H:%M'; # 2004-03-20 17:44
# call /usr/lib/sendmail directly instead of using mail()
$MailPostsFunction = 'MailPostsSendmail';
<< Internationalisierungen | PmWikiDe.DokumentationsIndex | InterMap anpassen >> |
Lizenzhinweis: Sie sind zur einfachen Nutzung (Lesen und Ausdrucken) aller Seiten in diesem Wiki berechtigt. Alle weiteren Rechte bleiben bei den Autoren der jeweiligen Beiträge.