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.
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (297 votes). Check out past polls.