• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

How do I add E-Mail Adresses + Redirections manually?

D

djrazr

Guest
Hello Parallel's

I want to give every user of my Service the possibility to have an own [email protected] Email Redirection.
Therefor i wrote a PHP which does the following tasks:
Creating a new Account ID with entering a Password in 'accounts'.
Taking the ID ('account_id'), the Domain ID ('dom_id'), The username ('mail_name'), the permid with cp permission ('perm_id') and the redirect address:('redir_addr' + 'redirect'=true) and fill a new row in 'mail'.

My own redirections , which are created from the panel are working fine, but all of those "manually" added ones are sending their mails to my admin email address.. -.-


Does someone have a clue? How do i add new redirections over a php script? What is missing?
 
Okay.. found the api and this:
<packet version="1.4.2.0">
<mail>
<create>




<filter>
<domain_id>3</domain_id>
<mailname>
<name>admin</name>
<mailbox>
<enabled>false</enabled>
</mailbox>
<password>12345</password>
<password_type>crypt</password_type>
<permissions>
<cp_access>false</cp_access>
</permissions>
</mailname>
</filter>
</create>
</mail>
</packet>
But how do i add forwarding to the call?
 
Back
Top