Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Send Email From Gmail

by Khen1950fx (Canon)
on Jun 19, 2010 at 11:08 UTC ( #845526=note: print w/replies, xml ) Need Help??


in reply to Send Email From Gmail

Go ahead and update Class::MOP. I think that you need to explicitly name the mail host:
my $sender = new Net::SMTP::TLS( 'some.mail.host', Hello => 'smtp.gmail.com', Port => 465, User => 'username@gmail.com', Password => 'password',

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://845526]
help
Chatterbox?
[erix]: when I capture test-ouput with test.pl 2>&1 > test.out why do I still get output on the screen? (I had not expected that)
[erix]: Hi Corion
[erix]: ( postgres has adopted TAP tests + perl for testing, and I'm playing around with that )
[Corion]: erix: Maybe the program re-opens STDERR or something like that? Also, I think you need to redirect first and then do the 2>&1 thing, but I never know and have to Google that
[huck]: erix some things also write to the raw console/tty/pty rather than stdout/stderr
[Discipulus]: see this useful site
[erix]: hm. ok. Either might be the case here. I guess I need to try out more

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2017-03-23 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (284 votes). Check out past polls.