in reply to What is the easiest/most efficient way to send an email w/ attachment through gmail

Instead of grabbing at a/any solution hoping for a result, you should be able to troubleshoot connecting and sending an email using telnet to port 25. Any good reference on SMTP will give instructions on how to do so. Once you can successfully send an email using telnet, you're sure to have more success writing a perl script.
the hardest line to type correctly is: stty erase ^H
  • Comment on Re: What is the easiest/most efficient way to send an email w/ attachment through gmail

Replies are listed 'Best First'.
Re^2: What is the easiest/most efficient way to send an email w/ attachment through gmail
by Anonymous Monk on Jul 19, 2010 at 01:48 UTC
    One of the reasons for choosing modules is not having to learn the tedium that is SMTP :)
      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