The sendmailR package contains a simple smtp client which provides a portable solution for sending email, including attachements, from within r. Full documentation at CRAN