Jump to content

Automatic To-Do addition when Registrar is set to EMAIL


tkalfaoglu

Recommended Posts

I had to set my registrar to Email for .TR registrations because I have to do those manually. However, those emails never reach me, or they get lost amongst all of the other emails I get. I suggest that if the registrar is set to Email, obviously some manual labor is required, and an auto-add of a to-do would be great..

 

(Actually, email registrar code is editable, if someone could supply me with the necessary API call to create a to-do, I'd be all set and grateful..)

 

Thanks, -turgut

Link to comment
Share on other sites

it sends you an email - can you not add that to your t-do list in your email program ? ;)

 

make a copy of the module, edit the function names as per the wiki/dev instructions, add something like


       $date = mktime(0, 0, 0, date("m")  , date("d"), date("Y"));
       $duedate = mktime(0, 0, 0, date("m")  , date("d"), date("Y"));
       $admin = '';
       $status = 'New';

       $table = 'tbltodolist';
       $array = array (
                       'date' => date("Y-m-d", $date),
                       'title' => $operation . " Requires Manual Intervention",
                       'description' => sprintf("Client ID: %d\n%s\n", $clientId, $domainName),
                       'admin' => $admin,
                       'status' => $status,
                       'duedate' => date("Y-m-d", $duedate)
       );

       insert_query ($table, $array);

}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated