Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Integration problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
rudolf.riegler
Newbie
Newbie


Joined: 12 November 2012
Online Status: Offline
Posts: 18
Posted: 12 November 2012 at 12:29pm | IP Logged Quote rudolf.riegler

Hi gent's,

I have some problems with the integration of Afterlogic Webmail-Client in my existing ASP.net Web-application:

My navigation menu consists of several pages (e.g. myWebmail.aspx, persons.aspx, ...). If the user selects "myWebmail.aspx", the Webclient will be integrated via an <iframe> as described on "integration describtion".

Integration Object: integr.UserLoginByEmail("xyz", "xyz", "password", WMStartPage.Mailbox, ""); ... works well!!!

On a page like "persons.aspx" it is possible to select several E-Mail adresses and click the button "send E-Mail". The button-click event should open the Webmail-Client
on "myWebmail.aspx"...however, the WMStartPage have to be "NewMessage" and the selected E-Mail adresses have to be transmitted.   

Integration Object: integr.UserLoginByEmail("xyz", "xyz", "password",WMStartPage.NewMessage, "mailadress1@gmx.at;mailadress2@gmx.net"); ... how can I do this???

Any ideas to solve my problem??? ...thank's in advance for your replies!

Best regards
Rudi
Back to Top View rudolf.riegler's Profile Search for other posts by rudolf.riegler
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 13 November 2012 at 5:35am | IP Logged Quote Igor

I'm not sure I understand what exactly is the problem. Are you saying that things work fine with 1 recipient but fail to work when more than one email address is supplied? Be sure to use comma as separator between email addresses. Aside from that, things should work fine as expected, never tried that ourselves though.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
rudolf.riegler
Newbie
Newbie


Joined: 12 November 2012
Online Status: Offline
Posts: 18
Posted: 13 November 2012 at 12:11pm | IP Logged Quote rudolf.riegler

Igor wrote:
Are you saying that things work fine with 1 recipient but fail to work when more than one email address is supplied?


No!

I have integrated the webmail-client as described here (Example 3) using test-iframe.aspx/test-iframe.aspx.cs, <iframe> and so on.

The <iframe> is implemented in my web-application on "myWebmail.aspx" (WMStartPage = Mailbox)...works well!

Additionally, on an other page of my web-application (e.g. persons.aspx), a button is implemented, which is called "send E-Mail". A click on this button should open the webmail-client (WMStartPage = newMessage). Selected E-Mail adresses on "persons.aspx" should be displayed in the "To..."-field of the webmail-client....no idea to do this!!!

Best regards
Rudi
Back to Top View rudolf.riegler's Profile Search for other posts by rudolf.riegler
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 13 November 2012 at 2:40pm | IP Logged Quote Igor

Well, even though that article holds a warning about using GET for sending data through, I believe this would be quite handy here, as long as we only send recipient info through it. In your web page, make sure that additional GET parameter is added which contains ready-to-use line for "To:" field, properly escaped of course. Then you should be able to get that value from the script which holds the integration code.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
rudolf.riegler
Newbie
Newbie


Joined: 12 November 2012
Online Status: Offline
Posts: 18
Posted: 15 November 2012 at 10:21am | IP Logged Quote rudolf.riegler

Hi Igor,

I'm sorry, but I don't understand what you mean. Are you talking about the "GetAccountById(id)"-method?!?!

Regards
Rudi
Back to Top View rudolf.riegler's Profile Search for other posts by rudolf.riegler
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 19 November 2012 at 2:47am | IP Logged Quote Igor

No, I'm talking about UserLoginByEmail method and a way of sending data into it from another script/page; using GET there would be quite straightforward I think.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide