Article ID: 129469, created on Sep 20, 2016, last review on Dec 6, 2016

  • Applies to:
  • Plesk Automation 11.5

Question

How can I create Mail account with API request?

Answer

Here is the example of such request:

<?xml version="1.0"?>
<packet version="1.6.3.0">
<mail>
  <create>
   <filter>
      <site-id>85</site-id>
      <mailname>
          <name>testmailbox</name>
          <mailbox>
              <enabled>true</enabled>
              <quota>10485760</quota>
          </mailbox>
          <password>
<value>qwe123</value>
</password>
 <antivir>off</antivir>
           </mailname>
   </filter>
</create>
</mail>

Please use the following guide to examine additional information.

Search Words

Create Mail account with API

email account creating xml api request

plesk automation API

mail api -passwd_type encrypted not working

api plesk

API request to create mail account

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF