#1 2018-12-06 15:01:02

admin
管理者

メールサーバー上の UUID リスト取得 高速化|MMPLib2|Ver2.0.4||Mail_template8|8.2.2

サンプルテンプレート Mail_template8 シリーズ、Mail_template8.2.1[MMPLib2.0.1]以前をご利用中の場合、

https://sites.google.com/site/mailmaker … e8-mmplib2
上記から Mail_template8.2.2[MMPLib2.0.4] をダウンロードし、
以下のファイルを入れ替える事で、メールサーバー上の UUID リスト取得を高速化出来ます。
Mail_template8.fmp12(.fp7)
MMPLib2.fmp12(.fp7)



ファイルをカスタマイズしている場合、スクリプトを変更することで、対応させることもできます。
上記でダウンロードした
ファイル:MMPLib2.fmp12(.fp7)Ver2.0.4 を開き、
スクリプト:login2(hostname,port,SSL,username,password,SaveDirectory,remove)
をコピー。
現在使用中のMMPLib2.fmp12(.fp7)Ver2x へスクリプトをペースト。

現在使用中のファイル:Mail_template8.fmp12(.fp7)
スクリプト:受信[1アカウント]
以下の指定を変更
スクリプト実行 [「login(hostname,port,SSL,username,password,SaveDirectory,remove)」 , ファイル: 「MMPLib」;.....
↓以下に変更
スクリプト実行 [「login2(hostname,port,SSL,username,password,SaveDirectory,remove)」 , ファイル: 「MMPLib」;.....

オフライン

#2 2018-12-06 19:00:44

admin
管理者

Re: メールサーバー上の UUID リスト取得 高速化|MMPLib2|Ver2.0.4||Mail_template8|8.2.2

※注意 不具合があります。
ファイル:MMPLib2.fmp12(.fp7)Ver2.0.4
スクリプト:login2(hostname,port,SSL,username,password,SaveDirectory,remove)

88行目: 変数を設定 [$ListUIDL; 値:Substitute ( $Uids ; ["¶+OK¶" ; ""];["¶." ; ""];["¶¶" ; ""])
の上に以下を追加して下さい。
変数を設定 [$er; 値:iill_rxSetRegexOptions( "" )]
変数を設定 [$Uids; 値:Let([Regex ="(\r\n|\r|\n)\+OK.*?(\r\n|\r|\n)" ; source =$Uids ; replacewith =""];iill_rxRegexReplace( Regex ; source ; replacewith ))]

訂正後
変数を設定 [$er; 値:iill_rxSetRegexOptions( "" )]
変数を設定 [$Uids; 値:Let([Regex ="(\r\n|\r|\n)\+OK.*?(\r\n|\r|\n)" ; source =$Uids ; replacewith =""];iill_rxRegexReplace( Regex ; source ; replacewith ))]
変数を設定 [$ListUIDL; 値:Substitute ( $Uids ; ["¶+OK¶" ; ""];["¶." ; ""];["¶¶" ; ""])

オフライン

Registered users online in this topic: 0, guests: 1
[Bot] claudebot

Board footer

Powered by FluxBB
Modified by Visman

[ 0.015 秒でページを生成, 7 クエリーを実行 - 使用メモリー: 1.54 MiB (ピーク: 1.66 MiB) ]