in reply to Resending a complete e-mail

If it's just one email, telnet to port 25.. :)

Actually Net::SMTP::Server is interesting and with practice on it you will be able to EHLO with the best of 'em.