[______TOC_______]
[NEXT CHAPTER]
1 misc
1.1 URL where you can send FML commands
http://www.infosite.ne.jp/fml/
in fml-support: Count: 01585
From: Yuao Tanigawa <yuao@infonia.or.jp>
URL where you can send the fml command,
1.2 send back "thank you" mail for enquete
We accept opinions by mail from anyone and send back the reply "thank
you for your opinion" to the sender.
object:
return guide if fml receives post from the member.
config.ph configuration Example 1:
1. permit post from anyone
2. add $START_HOOK to send back "guide"
### sample configuration ###
$PERMIT_POST_FROM = "anyone";
# YOU CAN EDIT MANUALLY AFTER HERE.
$START_HOOK = q#
if (! &MailListMemberP($From_address)) { &GuideRequest(*Envelope);}
#;
config.ph configuration Example 2:
return another file not guilde with the header:
From: $MAIL_LIST
Subject: Thanks you for your mail
### sample configuration ###
$PERMIT_POST_FROM = "anyone";
# YOU CAN EDIT MANUALLY AFTER HERE.
$RECRUIT_ACK_STATEMENT = "Thanks you for your mail";
$RECRUIT_ACK_FILE = "$DIR/recruit_reply";
$START_HOOK = q#
if (! &MailListMemberP($From_address)) {
&DEFINE_FIELD_OF_REPORT_MAIL('From', $MAIL_LIST);
&SendFile($From_address, $RECRUIT_ACK_STATEMENT, $RECRUIT_ACK_FILE);
}
#;
1.3 MIME-Decode MIME parts of mail to distribute
To MIME-Decode MIME parts of mail to distribute is to change
if ($USE_LIBMIME && ($MailHeaders =~ /ISO\-2022\-JP/o)) {
require 'libMIME.pl';
$Summary_Subject = &DecodeMimeStrings($Summary_Subject);
}
to
if ($USE_LIBMIME && ($MailHeaders =~ /ISO\-2022\-JP/o)) {
require 'libMIME.pl';
$Summary_Subject = &DecodeMimeStrings($Summary_Subject);
$MailBody = &DecodeMimeStrings($MailBody);
}
1.4 forward confirm message to MAINTAINER
fml-support: 08960
By default confirmation is sent to the use who send subscribe request.
If this mail should be forwarded to MAINTAINER, try the following
hook.
confirm 200010302002481472410938048 Tomoyo Daidouji
$FML_EXIT_HOOK = q#
if (! &MailListMemberP($From_address)) {
$Envelope{'message:h:to'} = $MAINTAINER;
}
#;
[______TOC_______]
[NEXT CHAPTER]