1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Email forwarding programatically with PHP

Discussion in 'Plesk 11.x for Linux' started by BoydBC, Jan 24, 2013.

  1. BoydBC

    BoydBC New Pleskian

    10
    35%
    Joined:
    Jan 24, 2013
    Messages:
    9
    Likes Received:
    0
    HI, I would like to know if it is possible to allow customers on Plesk Panel to update the email address to which their emails are forwarded without giving access to the Panel. The thing is that we have a client who has a website with us and that client has lots of ATV clubs that they want to each give a email address to. They don't want to have to edit the email forwards each time a club Director changes and they want to be able to give them the opportunity to change it themselves without giving them access to their Plesk control panel.

    I can do the programming, but only if this is possible with Plesk and I would need to know the way to be able to edit the email forwards already present in Plesk.

    Another way that I could do it if possible would be to keep the forwards in a database and run a script server-side when emails to that particular domain are received, but I would need to know when I should run the script, where to call it from and how to forward the email to the address I would want to forward to.

    Please advise as I am sure someone else asked for something similar, but I did not find any answers on the forums and in the knowledgebase.
     
  2. BoydBC

    BoydBC New Pleskian

    10
    35%
    Joined:
    Jan 24, 2013
    Messages:
    9
    Likes Received:
    0
    Does anyone actually know how to implement such a feature? We build our own CMS and it would be nice if we could add this feature into our CMS for future clients. Also if possible a way to create new emails and manage their emails using the CMS provided instead of doing it via Plesk. Our clients really love our CMS since it is easy to use for people with minimal computing skills.
     
  3. BoydBC

    BoydBC New Pleskian

    10
    35%
    Joined:
    Jan 24, 2013
    Messages:
    9
    Likes Received:
    0
    Answer please

    Can anyone from Plesk answer my question? A simple yes or no answer would be quite easy... Please, anyone....
     
  4. EgidijusS

    EgidijusS Regular Pleskian

    23
    23%
    Joined:
    Jan 22, 2010
    Messages:
    183
    Likes Received:
    0
    Location:
    Vilnius, Lithuania
    Yes. You can do that with Plesk API.
     
  5. BoydBC

    BoydBC New Pleskian

    10
    35%
    Joined:
    Jan 24, 2013
    Messages:
    9
    Likes Received:
    0
    How would you post the XML to the Plesk API?
     
  6. EgidijusS

    EgidijusS Regular Pleskian

    23
    23%
    Joined:
    Jan 22, 2010
    Messages:
    183
    Likes Received:
    0
    Location:
    Vilnius, Lithuania
Loading...