hey ,
i want to add html to registration_email.html
but it turn to text :\
i searched in the forum and google and nothing :\
note :
i try to add <img src="http://domain.com/logo.jpg">
XFileSharing Pro - html in email messages ?
you need to change it to html email, so modify the typeChenB wrote:when i open the massage i see it in text and not the picture
http://www.cyberciti.biz/faq/how-do-i-s ... from-perl/
i know but !!!
the SendMail is in the session.pm and it's encrypted
so i use this ..
the admin didnt really think about the future :\
Code: Select all
$ses->SendMail($user->{usr_email},$c->{email_from},"$c->{site_name} registration confirmation",$t->output);
so i use this ..
Code: Select all
my $msg = MIME::Lite->new(
From =>'$c->{email_from}',
To =>'$user->{usr_email}',
Subject =>'$c->{site_name} registration confirmation',
Type =>'multipart/related'
);
$msg->attach(Type => 'text/html',
Data => ,$t->output
);
$msg->send();