Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
E-mail when a user submits a download, link or news
  • Posted: 13.05.2004, 16:45
     
    charlie1234
    rank:
    Softmore Softmore
    registered:
     May 2004
    Status:
    offline
    last visit:
    17.01.07
    Posts:
    58
    I want to have a e-mail when a user submits a download, link or news.
    Today I have to login my self to the PostNuke site to see that.

    Īs that possible ?

    I use 0.726 whit core modules
  • Posted: 21.05.2004, 19:10
     
    mheffel
    rank:
    Freshman Freshman
    registered:
     November 2003
    Status:
    offline
    last visit:
    04.02.05
    Posts:
    13
    Yes it's possible. One way is to use a function like the following:

    Code

    mail('toAddress','messageSubject', "messageBody",
         "From: fromWhom\r\n"
         ."X-Mailer: PHP/" . phpversion() . "\r\n"
         ."X-Mailer: Issues" );


    Find in your Post Nuke source code where the event you're interested in is, and put the above code. Of course, the toAddress would be you, and fill in your own message subject and body.

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula