a YaBB installation that needed to use smtp.gmail.com as its SMTP server. smtp.gmail.com requires TLS, and I made a relatively small change to YaBB to support TLS using Net::SMTP::TLS (available from CPAN). Here are the diffs: