anirudh_sml has asked for the wisdom of the Perl Monks concerning the following question:

I have Linux ubuntu and catalyst framework on it.I want to send email through it.Please guide me in detail what to do?

Replies are listed 'Best First'.
Re: Sending mail through catalyst
by moritz (Cardinal) on Dec 18, 2008 at 08:09 UTC
    Just like you'd do it without catalyst, for example with MIME::Lite.
Re: Sending mail through catalyst
by skirnir (Monk) on Dec 18, 2008 at 08:21 UTC
    There are Catalyst::View::Email and Catalyst::Plugin::Email.
    AFAIK some former Plugins for Catalyst have already been reimplemented and removed from the Plugin namespace (Authentication for example), so I think using the former may be the way to go.
    That's a wild guess, though.
Re: Sending mail through catalyst
by klekker (Pilgrim) on Dec 18, 2008 at 08:46 UTC
      First of all thanks to u all now but there is still a problem I am using use MINE::Lite but this is error
      Caught exception in Support::Controller::Support->insert_comment "No s +endmail command available at /var/www/Support2/script/../lib/Support/ +Controller/Support.pm line 246"

        The error is fairly descriptive. You have no `sendmail` command available. Either install it, or use the SMTP way of sending (see the MIME::Lite documentation on how to configure that).

        --
        b10m
        line : 246: $msg->send();
Re: Sending mail through catalyst
by oko1 (Deacon) on Dec 18, 2008 at 12:42 UTC
       Please guide me in detail what to do?
    1. Search and carefully read the documentation.
    2. Write code (this can, unfortunately, require significant effort.)
    3. Test your program.
    4. If it fails, fix it. If you can't figure out how to fix it, re-read the documentation, search the Web, and - if none of the above helps - post to Perlmonks, citing the exact error messages and a minimal code snippet that demonstrates the problem.

    People who follow the above, or some similar procedure, usually get lots of helpful answers - not just here, but in almost any help forum. People who don't usually get annoyed or less than helpful responses - although sometimes, someone will take pity on these clueless individuals and give them an answer - say, as a Christmas present.

    You should consider carefully into which category you fall, and fix it quickly if it's the wrong one.


    --
    "Language shapes the way we think, and determines what we can think about."
    -- B. L. Whorf
      first of all thanks monks for giving me solution .
        first of all thanks monks for giving me solution .
        and second ?