MikeMeilleur
Technical User
Hello all,
I have a problem with the module MIME::Lite.
Here's my code :
When i receive the mail, I cannot see the accents :
--> C'était trÚs bien, je te raconterai...
I try to find the solution on Cpan site, but it still doesn't work fine.
Could you help me please ?
Thanks,
(Sorry for my bad english, i'm french)
I have a problem with the module MIME::Lite.
Here's my code :
Code:
#!/usr/bin/perl -w
use MIME::Lite;
$msg = MIME::Lite->build(
From => 'mike.meilleur@free.fr',
To => 'mike.meilleur@free.fr',
Subject => "Re: Hier soir !",
Type => 'TEXT',
Encoding => 'quoted-printable',
Data => "C'était très bien, je te raconterai..."
);
#$msg->attr("content-type.charset" => "iso-8859-15");
$msg->send('smtp', 'smtp.free.fr');
When i receive the mail, I cannot see the accents :
--> C'était trÚs bien, je te raconterai...
I try to find the solution on Cpan site, but it still doesn't work fine.
Could you help me please ?
Thanks,
(Sorry for my bad english, i'm french)