in reply to Re^5: Using Net::SMTP to send email attachments
in thread Using Net::SMTP to send email attachments

First problem is that MIME::Sender is not on the suite of Perl modules that my ISP provides.

Second problem is that because I am a mean cheapskate, my website has shared hosting so I am not allowed to install any modules that I might want - or even need...

  • Comment on Re^6: Using Net::SMTP to send email attachments

Replies are listed 'Best First'.
Re^7: Using Net::SMTP to send email attachments
by pryrt (Abbot) on May 01, 2017 at 15:02 UTC

    Did you read any of the links that the Anonymous Monk gave you? They show plenty of ways to include CPAN modules, even when you think you cannot.

    I use shared hosting, but my ISP provides a CPanel interface to install modules from CPAN, so "shared hosting" is not a barrier -- even cheap shared hosting (mine's on the order of $5/month).

    Further, as those links would explain in better detail and with more alternatives, if you have the capability to write your cgi script onto your host, you have every privilege required to include a pure-perl CPAN module: if you upload script to /home/username/www/cgi-bin/myscript.cgi, then you could create the directory /home/username/www/cgi-bin/lib/, and place the .pm files appropriately in that directory, and just make sure that myscript.cgi includes use lib './lib/';. If you also have SSH or other shell access, you most likely also have access to a compiler, and can probably install even non-pure-perl modules in that subdirectory.

Re^7: Using Net::SMTP to send email attachments
by Anonymous Monk on May 01, 2017 at 23:27 UTC

    Well,

    You don't need your ISP, to install perl on your home computer, to use mimesender to see how to talk MIME

    Also what pryrt said