in reply to Re: Calling a PHP function from within Perl
in thread Calling a PHP function from within Perl

Thanks. I did try that, among many other things. I can't remember if the CPAN was failing for that one or if it was something else, but I couldn't get it to play nice with SES. :(
  • Comment on Re^2: Calling a PHP function from within Perl

Replies are listed 'Best First'.
Re^3: Calling a PHP function from within Perl
by 1nickt (Canon) on Jul 28, 2019 at 05:36 UTC

    I would try again, and capture your errors if there are any so others can help debug. It's certainly no problem using SES with Perl; in my experience the most frequent error when using an AWS API is connecting to the wrong region. What did you pass for host?


    The way forward always starts with a minimal test.
      I didn't get that far. I couldn't get it to compile (or interpret? I'm not sure what to call it in Perl! :)

        Not sure if "it" is your script, or an installation ... First, let's be sure you have the prerequisite modules. Earlier you mentioned CPAN errors. What do you get when you type following into your terminal? (Should be nothing at all.)

        perl -MEmail::Sender::Simple -MEmail::Sender::Transport::SMTP -MEmail: +:MIME -MTry::Tiny -e 1


        The way forward always starts with a minimal test.