[ic] customize email usertag

Stefan Hornburg Racke racke@linuxia.de
07 Apr 2001 13:44:49 +0200


"Ayayu Infomation desk" <info@ayayu.com> writes:

> I would like to customize email usertag.
> To use Japanese characters for e-mail subject, I need MIME::Base64
> encode
> in email usertag such as perl regular coding as follows.
> 
> use MIME::Base64();
> $subject = "JAPANESE CHARACTERS";
> chomp($subject);
> $subject = "=?ISO-2022-JP?B?$subject?=";
> 
> But if I add line below in email usertag, Inertanl sever error occured.
> 
> $subject = MIME::Base64::encode($subject);
> 
> Is it impossible to use external library in usertag?
> How should I do such a requirement?

Try:

require MIME::Base64;

(Look at the get-url usertag).

This works for global usertags only.

Ciao
        Racke

-- 
Alter ego of LinuXia Systems (URL: http://www.linuxia.de),
Debian maintainer (e.g. Courier Mail Server suite), Interchange developer;
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)