Package Details: perl-email-mime-createhtml 1.041-1

Git Clone URL: https://aur.archlinux.org/perl-email-mime-createhtml.git (read-only)
Package Base: perl-email-mime-createhtml
Description: Perl module that allows you to create HTML emails
Upstream URL: https://metacpan.org/release/Email-MIME-CreateHTML
Licenses: GPL
Submitter: bunder
Maintainer: bunder
Last Packager: bunder
Votes: 0
Popularity: 0.000000
First Submitted: 2011-07-03 18:02
Last Updated: 2015-08-12 05:08

Latest Comments

Zack-Clark commented on 2016-05-05 14:43

This is my first written help request since beginning with computers in 1976. Anyway, after installing ALL the dependencies, perl-email-mime-createhtml started building but failed upon attempting "==> Starting check()..." I surmised that this was due to:
"Warning: prerequisite Data::Serializer 0 not found."
Besides, this dependency's file perl-data-serializer-0.60-1-any.pkg.tar.xz (output of makepkg on "perl-data-serializer") had added ZERO (0) bytes when installed! Indeed, the only items found within said .xz file were .BUILDINFO, .MTREE & .PKGINFO - ¡crazy! So I focused on this issue until a reasonable .xz file was obtained, and actually did install some files to my HOME directory (/home/grace/ - NOT 'usr' - I guess that's just something perl wants sometimes). Nevertheless, redoing makepkg under perl-email-mime-createhtml resulted in the exact same problem. Then I read recommendations involving $PERL5LIB, so I tried:
set PERL5LIB=/home/grace/perl5/lib/perl5/Data/Serializer:/home/grace/perl5/lib/perl5;makepkg

This changed nothing until I looked into PKGBUILD. There I found "unset PERL5LIB PERL_MM_OPT ...." and removed PERL5LIB from the list. makepkg still failed but at least there was no Data::Serializer warning. Next I went into the src directory and per README tried "perl Makefile.PL" & "make" this -in turn- advised installing "perl-common-sense" which I did. Redoing makepkg with the original PKGBUILD (i.e. with "unset PERL5LIB") repeated the old Data::Serializer warning, so I tried again with PERL5LIB removed from the unset list. The build completed nicely and perl-email-mime-createhtml-1.041-1-any.pkg.tar.xz installed without problem. Note: PERL5LIB was always set to the two directories shown above before doing makepkg (this always reset the environment variable to 3 repetitions of "/home/grace/perl5/lib/perl5").

Hopefully someone can find value in the above curious recounting.

Following is how I am tying to test the module:
First I execute "perl". Then I paste in:
use Email::MIME::CreateHTML;
my $html = '<html><head><title>Big-TITlee</title></head><body><p>Hi Guy</p></body></html>';
my $Eml = Email::MIME->create_html(
header => [From => 'senderl@foo.org',To => 'recipient@bar.org',Subject => 'Testing CreateHTML',],
body => $html);
print "vvvvvvv\n$Eml\n^^^^^^^";

Finally I do a ^d which results in:
vvvvvvv
Email::MIME=HASH(0x.......) {the 7 digit hex always changes}
^^^^^^^

Any ideas on how to get my HTML email output???