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

Event Handler

Discussion in 'Plesk for Windows - 8.x and Older' started by raphaelpdb, Apr 3, 2006.

  1. raphaelpdb

    raphaelpdb Guest

    How do I get a password with Event Handler?

  2. JackL

    JackL Guest

    Event handler is not responsible for sending password

    John S.G.
  3. raphaelpdb

    raphaelpdb Guest

    More Event Handler

    How to I send a password?

    I have a qmail server in a Linux box and I write a middleware to insert new e-mail account in qmail system, but the Event Handle don't send a password.

    I need this!

    Help me!
  4. OlegB

    OlegB Guest

    Actually it's a Windows forum :) May be it will be better you to contact on Plesk for Linux forum.

    But I can offer you a guaranteed way to know the password.

    1. You need create come .cmd file (c:\pass.cmd)
    2. Put the text into

    @echo off
    "%plesk_bin%\mail.exe" -i %1 | findstr Password: > c:\pass.txt

    2. Create handler on `Mail name created` event
    c:\pass.cmd <new_mailname>

    When new mail will be created (with password `my_pass`), the file c:\pass.txt will be created as well. It will include the line:

    Password: my_pass
  5. raphaelpdb

    raphaelpdb Guest

    Thank's a lot!

    My Plesk Panel running in a Windows machine, but my mail server running in a Linux box.

    Your reply is amost important for me!

    Thank's again!