Regarding code blocks: remove the huge number of trailing spaces from your code, and it would look fine.
In reply to Re: gmail and Net::SMTP by pryrt in thread gmail and Net::SMTP by morgon