Forgive me if there's another mailing list I should've posted this at. It 
didn't seem to squarely fit the Catalyst list because it may be a mailer issue. 
Not sure.

I'm trying to use Catalyst::View::Email and Catalyst::View::Email::Template. 
The error I get is:

> [debug] C::V::Email::Template uses default view 
> Prodhub::View::TT=HASH(0x1047840e8) for rendering.
> [debug] C::V::Email uses default content_type text/plain.
> [debug] Rendering template "_email/invitation_to_project-HTML.tt2"
> [debug] Passing page through as text: _email/invitation_to_project-HTML.tt2
> [debug] C::V::Email uses specified content_type text/plain.
> [error] Caught exception in Prodhub::View::Email::Template->process "Couldn't 
> connect to localhost at 
> /usr/local/lib/perl5/site_perl/5.10.1/Catalyst/Action.pm line 65"
> [error] Caught exception in engine "Can't use string 
> ("a6868e20c5ff9800b88e1a6ac7eef75e") as a HASH ref while "strict refs" in use 
> at /usr/local/lib/perl5/site_perl/5.10.1/Catalyst/Engine.pm line 117."

The configuration I'm using in .conf is below. I get this error regardless of 
whether I try Sendmail or SMTP.

If it makes any difference, I'm on Mac linux.

Thanks in advance for any insight.

Steve Kleiman



Configuration:
> <View::Email>
>       stash_key                               email
>       <default>
>           content_type                text/plain
>           charset                             utf-8
>       </default>
> 
>       <sender>
>               mailer                          Sendmail
>               # mailer                                SMTP
>               # mailer_args is passed directly into Email::Send 
>               <mailer_args>
>                       Host                    mail.prodhub.com # defaults to 
> localhost
>                       username                [email protected]
>                       password                xxxxxxx
>           </mailer_args>
>       </sender>
> </View::Email>
> 
> 
> 
> <View::Email::Template>
>       template_prefix                 "_email"
> 
>       <default>
>               # Defines the default view used to render the templates.
>               view                            TT
>       </default>
> </View::Email::Template>


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to