Author |
|
jasonb Newbie
Joined: 04 February 2010 Location: Canada
Online Status: Offline Posts: 5
|
Posted: 04 February 2010 at 5:54am | IP Logged
|
|
|
Hello All,
I'm coding an application to search through Webmail Pro database to display a curtain email. Basically, the result of my search only show 4 columns:from, to, subject, date. What I would like to do is when I click on the result, It will open the view message from Webmail Pro just like when we are in Webmail Pro and double-click on an email.
I would greatly appreciate if anyone could shed a light on how to do that. Thanks in advance!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 04 February 2010 at 6:02am | IP Logged
|
|
|
Actually, WebMail Pro does not store mails in the database. What stored there is just message headers and purified text bodies. This is necessary to display message list and to run a search. If you need the message itself, you should pick it up from mail subfolder of the data folder, for the given account. Note that you'll need account ID placed next to email address and separated from it with a dot.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 04 February 2010 at 6:44am | IP Logged
|
|
|
We might be able to point you to function/class in WebMail Pro responsible for message rendering, but we need to know whether you're using PHP or ASP.NET version of the product.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
jasonb Newbie
Joined: 04 February 2010 Location: Canada
Online Status: Offline Posts: 5
|
Posted: 04 February 2010 at 7:33am | IP Logged
|
|
|
Thank Igor! That would be a good start for me. I'm using the PHP version.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 05 February 2010 at 2:20am | IP Logged
|
|
|
There is DoGetMessage() function in common/class_processorswitch.php file, it is responsible for fetching particular message. After passing data through processing.php script, message is renderend on client side, check js/class.webmail.js file (line ~439), "case TYPE_MESSAGE:" clause.
Hope this helps!
P.S. processing.php script is obfuscated by default. Licensed users of WebMail Pro can get its clear copy by sending an inquiry to HelpDesk with purchase order number and/or email address used for purchasing specified.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
jasonb Newbie
Joined: 04 February 2010 Location: Canada
Online Status: Offline Posts: 5
|
Posted: 19 February 2010 at 6:47am | IP Logged
|
|
|
Hi Igor,
I have processing.php but I'm still not able to figure out how to achieve my goal. Could you help me?
Basically, what I'm trying to do is I display a list of messages (from webmail pro database) in my application and then when I click on a message. I want it to display the view mesage screen of afterlogic webmail like the picture below. I'm using IMAP.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 19 February 2010 at 7:12am | IP Logged
|
|
|
I don't think I can provide any help on this. Customization of such kind requires new integration method or modifying existing code of WebMail Pro. AfterLogic Support Team is not responsible for any customizations and does not provide those. You can order custom development from our Professional Services team though.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
jasonb Newbie
Joined: 04 February 2010 Location: Canada
Online Status: Offline Posts: 5
|
Posted: 19 February 2010 at 1:39pm | IP Logged
|
|
|
Hi Igor, do you have code descriptions of the source codes? I can't seem to find any document that explains the codes on our site.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 19 February 2010 at 3:13pm | IP Logged
|
|
|
Unfortunately, there's no SDK-level documentation for WebMail Pro. However, our developers keep the source code of the product as straightforward as possible. In most cases, you shouldn't have problems understanding what any particular method is used for - the method's name is the answer.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|