文件名称:perl-MIME-Lite-3.30.0-6.mga6.noarch.rpm
文件大小:82KB
文件格式:RPM
更新时间:2021-08-16 09:52:25
perl-MIME-Li 开发
my $msg=MIME::Lite->new( From=>$opt->{from}, To=>$opt->{to}, #Subject=>$opt->{subject}, Subject=>"=?UTF-8?B?" .encode_base64(encode("utf8", $opt->{subject}), "") . "?=", #Type => 'text/html', #'Content-transfer-encoding'=>'7bit', Data =>encode("utf8", $opt->{body}), Encoding => 'base64', ); $msg->attr("content-type.charset" => "UTF-8"); #$msg->send('smtp','wwww.maildir.cn',Debug=>0);