increase buffer size in smtpmessage to avoid overflows; rewrite again with