Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Sending mail through catalyst

by anirudh_sml (Novice)
on Dec 18, 2008 at 07:51 UTC ( [id://731188]=perlquestion: print w/replies, xml ) Need Help??

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 ?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://731188]
Approved by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-24 20:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found