Re: [cgiapp] Best email module?

2009-01-30 Thread Joshua Miller
I've gotta second (or third) MIME::Lite - very nice interface, and
works like a charm.

On Thu, Jan 29, 2009 at 10:45 PM, Lyle webmas...@cosmicperl.com wrote:
 Peter Karman wrote:

 Lyle wrote on 1/29/09 8:26 PM:


 Hi All,
  I wondering what peoples experiences are with email modules on CPAN.

 ...

 Any recommendations? Maybe a C::A::P wrapper around the best one(s)
 would be good?


 I like Email::Stuff


 I was very impressed with this. But it looks like it's got some XS
 dependencies (although checking the code Clone doesn't seem to actually be
 used, but Params::Util is an issue). I've emailed Adam incase there is a
 Pure Perl solution/work around to this.


 Stewart Heckenberg wrote:

 I like MIME::Lite -- has a very simple attachment interface :)


 Pure Perl and looks promising, thanks :)


 Lyle


 #  CGI::Application community mailing list  
 ####
 ##  To unsubscribe, or change your message delivery options,  ##
 ##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
 ####
 ##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
 ##  Wiki:  http://cgiapp.erlbaum.net/ ##
 ####
 



#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####




Re: [cgiapp] Best email module?

2009-01-30 Thread Michael Peters

Stewart Heckenberg wrote:

I like MIME::Lite -- has a very simple attachment interface :)


MIME::Lite is what I've used in the past, although the Perl Email folks don't recommend it. 
Apparently it's very crufty on the insides. I think they recommend Email::MIME instead.


--
Michael Peters
Plus Three, LP


#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####




Re: [cgiapp] Best email module?

2009-01-30 Thread Octavian Rasnita

From: Michael Peters mpet...@plusthree.com

Stewart Heckenberg wrote:

I like MIME::Lite -- has a very simple attachment interface :)


MIME::Lite is what I've used in the past, although the Perl Email folks 
don't recommend it. Apparently it's very crufty on the insides. I think 
they recommend Email::MIME instead.


Email::MIME is in alpha version yet, although it could work fine. 
Email::Lite is too low level and it requires too much coding for a complex 
email message.


Mail::Builder::Simple is easier to use for sending complex email messages, 
with attachments, inline images, or create the message body or the 
attachments using Template-Toolkit or HTML::Template. It also automaticly 
encodes the message body and the headers to UTF-8 so they can contain 
non-english chars.
It uses Email::Send for sending email, so it doesn't have the bugs of some 
Mail::* modules.


Octavian


#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####




Re: [cgiapp] Best email module?

2009-01-30 Thread Lyle


Lyle wrote:

Peter Karman wrote:
I like Email::Stuff   


I was very impressed with this. But it looks like it's got some XS 
dependencies (although checking the code Clone doesn't seem to 
actually be used, but Params::Util is an issue). I've emailed Adam 
incase there is a Pure Perl solution/work around to this.


Adam has got back to me already, Params::Util does have a Pure Perl 
option but it contained a bug. I was able to fix it a supply a patch, 
Adam took it further and wrote some tests to stop it from happening 
again. There is now a new version on it's way to CPAN :)



Hopefully an Email::Stuff update with Clone removed will follow suit and 
this module will be a viable option.



Lyle


#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####




Re: [cgiapp] Best email module?

2009-01-30 Thread Lyle

Octavian Rasnita wrote:

From: Michael Peters mpet...@plusthree.com

Stewart Heckenberg wrote:

I like MIME::Lite -- has a very simple attachment interface :)


MIME::Lite is what I've used in the past, although the Perl Email 
folks don't recommend it. Apparently it's very crufty on the insides. 
I think they recommend Email::MIME instead.


Email::MIME is in alpha version yet, although it could work fine. 
Email::Lite is too low level and it requires too much coding for a 
complex email message.


Mail::Builder::Simple is easier to use for sending complex email 
messages, with attachments, inline images, or create the message body 
or the attachments using Template-Toolkit or HTML::Template. It also 
automaticly encodes the message body and the headers to UTF-8 so they 
can contain non-english chars.
It uses Email::Send for sending email, so it doesn't have the bugs of 
some Mail::* modules.


Octavian


This looks great, but it leans heavily on CPAN and there are several XS 
modules I don't think I could resolve :/



Lyle


#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####




Re: [cgiapp] Accessing CGI.pm methods

2009-01-30 Thread Terrence Brannon
On Thu, Jan 29, 2009 at 8:00 AM, kropotkin enquir...@mms-oxford.com wrote:


 Hi

 How do I access the CGI.pm method request_method() in CGI::Application?


In an action subroutine, it should be as easy as:

sub myaction {
  my ($app) = @_;

  $app-query-request_method();
}




-- 
Terrence Brannon
(818) 359-0893 [cell]

#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####




Re: [cgiapp] Best email module?

2009-01-30 Thread Octavian Rasnita

From: Lyle webmas...@cosmicperl.com
Mail::Builder::Simple is easier to use for sending complex email 
messages, with attachments, inline images, or create the message body or 
the attachments using Template-Toolkit or HTML::Template. It also 
automaticly encodes the message body and the headers to UTF-8 so they can 
contain non-english chars.
It uses Email::Send for sending email, so it doesn't have the bugs of 
some Mail::* modules.


Octavian


This looks great, but it leans heavily on CPAN and there are several XS 
modules I don't think I could resolve :/




Oh sorry, now I remember that the original question was about a module that 
doesn't use C code.


Octavian


#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####




Re: [cgiapp] Best email module?

2009-01-30 Thread Lyle

Michael Peters wrote:

Stewart Heckenberg wrote:

I like MIME::Lite -- has a very simple attachment interface :)


MIME::Lite is what I've used in the past, although the Perl Email 
folks don't recommend it. Apparently it's very crufty on the insides. 
I think they recommend Email::MIME instead.


Email::MIME looks good, but Email::Stuff seems like an easier interface 
to it.


I notice that Email::Send now says to use Email::Sender instead. Anyone 
got any experience with this?



Lyle


#  CGI::Application community mailing list  
####
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:  http://cgiapp.erlbaum.net/ ##
####