Hal9000 Posted February 9, 2013 Share Posted February 9, 2013 Hello! I coded my own registrar module and am having some problems with the _GetEPPCode() function, because I am getting the EPP code as part from the API response and need to send it myself to the client. So what I need to do is to send an email directly from the module by using thet EPP code I get. The best thing would probably be to create an email template for this purpose, then use that template from the module and send the mail to the client, and if possible also archive that mail with the other ones so that it appears in the Emails tab of the client. Is this doable, and if yes how? I could not find the needed information... 0 Quote Link to comment Share on other sites More sharing options...
nasos75 Posted February 20, 2013 Share Posted February 20, 2013 Why do you want to do that? Since your registrar sends the EPP code directly when you ask for it and not by email, you just simply display it to the user. 0 Quote Link to comment Share on other sites More sharing options...
Hal9000 Posted February 20, 2013 Author Share Posted February 20, 2013 Duh! For some reason I passed the EPP to $values['authcode'] instead of $values['eppcode']... I probably used an old dev kit or just made a plain mistake. It works perfectly now! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.