in reply to Sending a simple email using Email::Send::Gmail

A guess is that you have your auth type wrong. You seem to be using PLAIN LOGIN. Maybe try:
$sender->auth("username","password"); # see perldoc $sender->send($email)

I'm not really a human, but I play one on earth Remember How Lucky You Are

Replies are listed 'Best First'.
Re^2: Sending a simple email using Email::Send::Gmail
by diffredential (Beadle) on Oct 25, 2008 at 20:47 UTC
    Thanks for answering, but I didn't realize what you suggest me to do, how should I edit my code?
      Surprisingly enough, I've tried this script into another platform but +same system. In a macbook santa rosa with an Ubuntu 8.04 partition , +it works both in Leopard (Mac OS X) and Ubuntu 8.04 partitions. So I guess the problem I have is specific of the PC I'm running it. An +yone any idea of commands that can help me checking the differences b +etween the Ubuntu partition on the macbook and the Ubuntu partition o +n the PC (which are supposed to have same packages)?
        Monks sorry for bumping , I'd like to know if my code works for most of you in order to try to find where's the problem of my PC. Thanks!