Email account creation in plesk8.6 through API

Discussion in 'Parallels Website and Forum' started by padminib, Jul 14, 2010.

  1. padminib

    padminib Bit poster

    Messages:
    1
    Hi,

    i am newbie to this forum and new in using plesk api.I need your support to go forward in implementing plesk details through API.
    I am trying to generate email account for the domain.Here is the xml i am using for the same

    <packet version="1.5.2.0">
    <mail>
    <create>
    <filter>
    <domain_id>domainid</domain_id>
    <mailname>
    <name>emailname</name>
    <mailbox>
    <enabled>true</enabled>
    </mailbox>
    <password>pass</password>
    <password_type>crypt</password_type>
    <permissions>
    <cp_access>true</cp_access>
    </permissions>
    </mailname>
    <mailname>
    <name>techdept</name>
    <mailbox>
    <enabled>true</enabled>
    </mailbox>
    </mailname>
    </filter>
    </create>
    </mail>
    </packet>

    By using this i am facing and error as 1014 Parser error: Request is invalid.
    Can you people please help me to get rid of this issue.Its an urgent requirement for me.

    Thanks in advance
    Padmini
     

Share This Page