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

Turn on debugging
  • Comment on Re: Sending a simple email using Email::Send::Gmail

Replies are listed 'Best First'.
Re^2: Sending a simple email using Email::Send::Gmail
by diffredential (Beadle) on Oct 25, 2008 at 14:47 UTC
    diffred@fredlab:~/pathscripts$ ./sendemail.pl Net::SMTP::SSL>>> Net::SMTP::SSL(1.01) Net::SMTP::SSL>>> IO::Socket::SSL(1.17) Net::SMTP::SSL>>> IO::Socket::INET(1.29) Net::SMTP::SSL>>> IO::Socket(1.29) Net::SMTP::SSL>>> IO::Handle(1.25) Net::SMTP::SSL>>> Exporter(5.58) Net::SMTP::SSL>>> Net::Cmd(2.29) Net::SMTP::SSL=GLOB(0x8580d7c)<<< 220 mx.google.com ESMTP g11sm3140596 +gve.8 Net::SMTP::SSL=GLOB(0x8580d7c)>>> EHLO localhost.localdomain Net::SMTP::SSL=GLOB(0x8580d7c)<<< 250-mx.google.com at your service, [ +80.32.103.182] Net::SMTP::SSL=GLOB(0x8580d7c)<<< 250-SIZE 35651584 Net::SMTP::SSL=GLOB(0x8580d7c)<<< 250-8BITMIME Net::SMTP::SSL=GLOB(0x8580d7c)<<< 250-AUTH LOGIN PLAIN Net::SMTP::SSL=GLOB(0x8580d7c)<<< 250 ENHANCEDSTATUSCODES Error sending email: Email::Send::Gmail: error authenticating username + diffredential@gmail.com at /usr/local/share/perl/5.8.8/Email/Send.pm + line 243 at ./sendemail.pl line 29 diffred@fredlab:~/pathscripts$
Re^2: Sending a simple email using Email::Send::Gmail
by diffredential (Beadle) on Oct 28, 2008 at 12:41 UTC
    Also, I've donwloaded this perl script to send emails: http://caspian.dotconf.net/menu/Software/SendEmail/ and it sends the email properly!! So I cannot understand why this script works on sending an email in my PC and mine posted here don't (which works on Mac OSX!). Quite a flying experience.
      it sends the email properly!!
      No it doesn't, as It doesn't use gmail service (and your gmail account).

      So I cannot understand why this script works on sending an email in my PC and mine posted here don't (which works on Mac OSX!). Quite a flying experience.

      See Re^5: Sending a simple email using Email::Send::Gmail, you might figure it out.