in

Dotnetpanel Forums

Community support forums for DotNetPanel products

SmarterMail from DNP

Last post 07-22-2009 5:07 AM by feniethomas. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-21-2009 7:21 AM

    SmarterMail from DNP

     Hello All,

                  Is there an example or documentation on how to acess the SmarterMail from DNP  with Visual Studio -  Asp.Net?

     

    Regards

    Fenie

  • 07-22-2009 4:20 AM In reply to

    • GrZeCh
    • Top 10 Contributor
    • Joined on 04-25-2007
    • Poland
    • Posts 651

    Re: SmarterMail from DNP

    I don't think there is a such example. DNP is build with 3 modules which connect each other with DNP API:

    DNP Portal -> DNP Enterprise Server -> DNP Server -> SmarterMail API and "only" (in my opinion it is not only) DNP Portal sources are available.

    You can open DNP Portal in VS and add your own functionality to it:

     

                             DNP Enterprise Server -> DNP Server -> SmarterMail API
                             /
    Modified DNP portal
                             \
                             Your connection to SmarterMail API
     

    DotNetPanel 2.8.14
  • 07-22-2009 5:07 AM In reply to

    Re: SmarterMail from DNP

     Thanks for the reply. I tried to open the DNP Portal in VS and it works fine without having any modifications. My requirement is to add a new page say Smarter Mail and on the clicking the link ,the page should display carrying two dropdownlists. The dropdownlist should be filled based on the webservices provided by DNP and Smater Mail.So my doubts are

    1) Where Ineed to edit ? If its in AppData> Pages.config  ,  I added a new page and in the content pane I wrote html codes  to fill the dropdownlists.

     

                   <div class="Normal">
                        <select width="300px" onchange= "setAction()" ID="ddl" >
              
                        <ad:foreach collection="#Domains#" var="Domain" index="k"
    >


                 // Here the domains which the mail is enabled is listed. Onthe itemchange I need to check the domain admin usercredentials from SmarterMail API webservice say  GetPrimary DomainName. So that I need to call the the GetPrimary DomainName using SOAP/XML. I wrote the javascript for itemchange of dropdowmlist, its works fine, but I need to access the webservices. I also tried the webservice.htc but it fails to find the callservice and useservice eventhough I added the htc file in the same folder.  So my question is  how would  I do this.

     

                                 <ad:if test="#Domain.MailDomainId isnot "0"#"> 

                                       <option value= #Domain.PackageId#> #k#: #Domain.DomainName# </option>
                                    
                             </ad:if>

                     </ad:foreach>
              
                </select>

     

     

    2) Do I need to add a new usercontrol for this in the Desktop Modules. I tried this way too, but it fails because of Parser Error which couldn't find the corresponding  namespace of the new usercontrol.

    You can refer the URL of the post  which I alreday posted:           http://forum.dotnetpanel.com/forums/t/5800.aspx

    Please help me..

     

     

    Regards

    Fenie Thomas

     

     

Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems