• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How do I change the pass of a mail account

N

Nico_57

Guest
Hello,

I've tried to use the search tool before posting but I didn't find the answer I need.

I'm using Plesk API and I'd like to change the password of a Main account. Here is the XML sheet I use :

Code:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.4.2.0">
  <mail>
    <update>
      <set>
        <filter>
          <domain_id>4</domain_id>
          <mailname>
            <name>nico</name>
            <password>plop1234</password>
            <password_type>plain</password_type>
          </mailname>
        </filter>
      </set>
    </update>
  </mail>
</packet>

But, unfortunately, it doesn't work. Can you help me ?

Thanks.

Nico.
 
Back
Top