Autoresponder API problem

Discussion in 'Installation/Configuration' started by woy-s, Mar 26, 2014.

  1. woy-s

    woy-s New Member

    Hi,

    I am writing autoresponse module for our application but i have problem with command mail_user_update($session_id, $client_id, $mailuser_id, $params);

    My params:
    Code:
          $params['email'] = $edok_user_email;
          $params['login'] = $edok_user_email;              
          $params['autoresponder'] = 'y';
          $params['autoresponder_text'] = $edok_text;
          $params['autoresponder_subject'] = 'Autoodpowiedz';
          $params['autoresponder_start_date'] = $startdate;
          $params['autoresponder_end_date'] = $enddate;     
          $params['disabledeliver'] = 'y';
          $params['disablesmtp'] = 'n';      
          $params['postfix'] = 'y';
          $params['access'] = 'y';
          $params['disableimap'] = 'n';
          $params['disablepop3'] = 'n';
          $params['disablesmtp'] = 'n';
          $params['server_id'] = '1';
          $params['gid'] = '5000';
          $params['uid'] = '5000';
    
    After submit "quota", "name" and "maildir" will be null so i can't connect to my email account.
    Command overwrites data.

    How can i resolve the problem?
     
  2. Horfic

    Horfic Member

Share This Page