What is the simplest way to do this? Basically, I want to make a mail program with Perl, and I want to be able to test my scripts just on localhost. Can I just use Apache's SMTP module to do this, or do I need to install something like sendmail? Some links would be great, Google was no help. Edit: Like I said I want to do this as simple as possible and would prefer not to have to install something; I want to create my application from scratch