in reply to Sending email via Gmail
Take a look at the cpan modules already made for accessing Gmail.
Specifically there is Email::Send::Gmail which was spin off from Email::Send which you used.
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (350 votes). Check out past polls.