Author |
|
rudolf.riegler Newbie
Joined: 12 November 2012
Online Status: Offline Posts: 18
|
Posted: 12 November 2012 at 12:29pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 13 November 2012 at 5:35am | IP Logged
|
|
|
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 |
|
|
rudolf.riegler Newbie
Joined: 12 November 2012
Online Status: Offline Posts: 18
|
Posted: 13 November 2012 at 12:11pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 13 November 2012 at 2:40pm | IP Logged
|
|
|
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 |
|
|
rudolf.riegler Newbie
Joined: 12 November 2012
Online Status: Offline Posts: 18
|
Posted: 15 November 2012 at 10:21am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 19 November 2012 at 2:47am | IP Logged
|
|
|
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 |
|
|