Hi !!
I have a patch got a small for SMTP. This patch allow you to set a variable in the config file so that the SMTP server users the same username and password as IMAP and also allows you to supply a smtp_auth type to the PEAR class (For some reason my server was not authenticating when it tried to guess the auth type)
the username/password patch has been already done in cvs (in a slightly different manner), i also added the smtp_auth_type one right now.