[Catalyst] Catalyst::View::Email stopped working

Benjamin Martin benjamin at opusvl.com
Wed Jan 27 08:57:50 GMT 2010


Excellent... I had this exact problem yesterday, and thought I would 
have to battle through modules tracking down the source of the 
problem... but totally randomly I read this posting in the list and it 
fixed my problem..

thanks very much :)



Devin Austin wrote:
> Charlie Garrison wrote:
>> Good morning,
>>
>> I'm getting errors like the following when sending emails from my app 
>> (it was working fine previously):
>>
>> Caught exception in MMM::View::Email::Template->process "Can\'t 
>> locate object method "is_simple" via package "sendmail" (perhaps you 
>> forgot to load "sendmail"?) at 
>> /Library/Perl/5.8.8/Email/Sender/Simple.pm line 100."
>>
>> When trying to find out exactly where the problem was; I noted that 
>> backend is no longer using Email::Send like it used to (& the 
>> documentation says), eg:
>>
>> # Setup how to send the email
>> # all those options are passed directly to Email::Send
>> sender => {
>>     mailer => 'SMTP',
>>     # mailer_args is passed directly into Email::Send
>>     mailer_args => {
>>         Host     => 'smtp.example.com', # defaults to localhost
>>         username => 'username',
>>         password => 'password',
>> }
>>
>> C::V::Email now seems to be using Email::Sender instead. And I'm 
>> having trouble working out the correct config options I should be 
>> using. I've got 'mailer' set to 'SMTP' and there should be a 
>> $transport for that in Email::Sender. I'm using the following config 
>> (for local test server):
>>
>> <View::Email::Template>
>>     <sender>
>>         mailer  SMTP
>>         <mailer_args>
>>             Host    192.168.1.5
>>         </mailer_args>
>>     </sender>
>> </View::Email::Template>
>>
>>
>> Is this a bug with C::V::Email or Email::Sender, or am I doing 
>> something wrong?
>>
>>
>> Charlie
>>
> Hi Charlie/Everyone Else Who Experienced the Breakage,
>
> Catalyst::View::Email version 0.20 *should* in theory fix the recent 
> breaks.  Please install (most conveniently using cpanf, attainable 
> through App::CPAN::Fresh) and test, and notify the list/irc channel if 
> you have any issues.
>
> Also, see my previous email to the list regarding this fix/release.
>
> Thanks,
>
> dhoss
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: 
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>




More information about the Catalyst mailing list