perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Wiles <>
Subject Re: opinions of mod_perl users on MIME email sending
Date Thu, 21 Jun 2007 19:10:27 GMT
On Mon, 18 Jun 2007 16:51:18 +0100
John ORourke <> wrote:

> Hi folks,
> I'm wondering what modules people use for sending email?  At the
> moment I'm using MIME::Lite but I'm doing several things myself which
> a bigger module might do for me:
>  - header encoding - I can't find any modules which will Q- or
> B-encode headers that have the UTF-8 flag set
>  - UTF-8 detection on the body to set mime type
>  - sending with feedback - I'm using Net::SMTP so I can capture
> result codes and give a variety of error messages instead of just
> 'failed'. Currently the biggest prob with this is potentially
> delaying page delivery due to timeouts.

  Not sure that this helps with your UTF issues, but I've recently
  started using MIME::Lite::TT and MIME::Lite::TT::HTML and love
  them.  Wrote a quick tutorial on using them at:

  As others have pointed out you can delay page loading by using
  Net::SMTP to a remote system.  However, if you say have 5
  web servers and one SMTP server on your network, there shouldn't
  be any real delay.  It's when you have to connect up to that you'll run into serious

  Safest thing to do is submit your message to another process
  in mp and have it handle the actual sending, returning errors,
  etc.  Be it in a queue in some DB or just a simple daemon that
  handles it. 

  Hope this helps. 

   Frank Wiles, Revolution Systems, LLC. 
     Personal :
     Work     : 

View raw message