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.
Bought a souvenir
Emailed all my friends about it
Got blowed up
Hit him right dead in the jaw
Made it awkward
Took a selfie
Want to go home
Results (341 votes). Check out past polls.