Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Well I'm not doing any better than you, although being on Win32 may distort things. Got some error messages though...

I ended up spliting up the call string in order to intervene in the setup steps:

my $objst = Email::Stuff ->to('tshinnic@io.com') ->from('tshinnic@gmail.com') ->subject('Test Subject') ->text_body('This is a test.'); # This forces Net::SMTP::SSL to be loaded $objst->using( 'SMTP', ssl => 1 ); # Which allows us to do this ... $IO::Socket::SSL::DEBUG = 1; my $rc = $objst->send('SMTP', ssl => 1, Host => 'smtp.gmail.com', PeerPort => 465, username => 'tshinnic', password => 'xxx', Debug => 1, );
which finally gets us an actual error message!
CA file certs/my-ca.pem not found, using CA path instead. IO::Socket::INET configuration failederror:00000000:lib(0):func(0):rea +son(0) at C:/Perl587/site/lib/Email/Send/SMTP.pm line 37
which is of very little help to me, anyway...

After taking the same extraordinary measures, what error messages do you see?


In reply to Re^3: Using Email::Stuff to send SMTP mail through GMail by shenme
in thread Using Email::Stuff to send SMTP mail through GMail by initself

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2024-04-25 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found