The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hooking into mail handler

Discussion in 'cPanel Developers' started by Paulo Alvarado, Dec 1, 2011.

  1. Paulo Alvarado

    Paulo Alvarado Registered

    Joined:
    Dec 1, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Miami, Florida, United States
    cPanel Access Level:
    Root Administrator
    Hey Guys,

    I have been reading the Docs but have yet to find anything on hooking into the mail handler, basically i want to run a script whenever i receive mail via webmail.
     
  2. morissette

    morissette Well-Known Member

    Joined:
    May 24, 2009
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Austin, TX
    cPanel Access Level:
    Root Administrator
    I don't think this is possible.... via the API; therefore you would need to custom write this. There are API's for horde and roundcube but I am not familiar with their functionality.
     
  3. sirdopes

    sirdopes Well-Known Member
    PartnerNOC

    Joined:
    Sep 25, 2007
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    The easiest thing is to create a forwarder to pipe the email into your script. You can create a forwarder for an existing email address and it will deliver into the inbox and pipe into your script.
     
Loading...

Share This Page