in reply to Re^2: What is the easiest/most efficient way to send an email w/ attachment through gmail
in thread What is the easiest/most efficient way to send an email w/ attachment through gmail

I think it's a case of modules being provided for convenience, so you don't have to reinvent the wheel. Failure to understand SMTP basics and related matters and take them into account is likely to land one in hot water.
Besides that, the original post suggests that they're struggling getting basic connection parameters sorted out, rather than perl code problems.
That's just my reading of the question, so I thought I'd cover that aspect.
the hardest line to type correctly is: stty erase ^H
  • Comment on Re^3: What is the easiest/most efficient way to send an email w/ attachment through gmail