Create an email address from outside the control panel

Discussion in 'Hosting Services / Control Panel' started by homehopperc, Jan 4, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello.

    I'd like to be able to create a new email address / webmail account, from within my site.

    The purpose is to allow a 3rd party to add email accounts with out being able to log into my control panel.


    Ive tried this code hoping to "trick" the control panel into allowing me to get/post command to it.. with this code;

    Set objWinHttp = Server.CreateObject("WinHttp.WinHttpRequest.5.1")
    objWinHttp.Open "PUT", "https://my.discountasp.net/login.aspx?ReturnUrl=/email_pop_manager.aspx", False
    objWinHttp.Send("txtLogin2=*username*&txtPassword2=*password*&btnLogin=Login&")

    Response.Write "Status: " & objWinHttp.Status & " " & objWinHttp.StatusText

    But the status returned is 403 Forbidden.


    Does anyone have another suggestion on how to create new email addresses from within a web page, rather than the control panel?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Unfortunately, there is no good way except using the CP.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page