Fork me on GitHub

Squirrel Mail integration  Bottom

  • Is there anyone at all trying to develop squirrel mail postnuke integration? I'd like to help them if they are.
  • I have been working on this now for a couple of days. I started out by making a new version of that snippet jn pointed us to. My version just has the login button, no fields. The PN uname is used as the username and the password is a dynamic user variable.

    But I was not satisfied with that. I wanted to display the number of new messages and other pertinant info so that the user can see at a glance if it is worth the time to click the link. This is where I started running into some serious problems with SquirrelMail.

    Don't get me wrong, its a great script, but I think the issue is that the base API of the system is too unstable to count on. Here is why I say that. My host uses version 1.2 of SM. I downloaded the latest version (1.4.2) to work off of, thinking that the imap functions that I needed would probably be the same. But there was actually some kind of weird syntax problems with the functions/auth.php file in 1.4. So I decided to work from my hosts version, since that is really what I needed the block to work with anyway. But, version 1.2 does not work like 1.4.2. Files are included from the parent folder (../) rather than the current working folder in 1.2. In 1.4 you could actually define the SM install path and work from there, so at least they fixed this in later versions, but that leaves me up a creek for 1.2.

    I am not sure what version of SM most of you use, but regardless you are going to have some issues trying to integrate PN and SM until the core of SM is stabalized a bit more. I think email in PN is very possible and I'm going to look into the Imap functions built into PHP for a temporary solution, but that will be a lot of work!

    So anyways, the snippet on the page that jn points to is the best solution for now. I hope this saves someone some time.

    regards,

    Lee
  • Quote

    I have been working on this now for a couple of days. I started out by making a new version of that snippet jn pointed us to. My version just has the login button, no fields. The PN uname is used as the username and the password is a dynamic user variable.


    Hi,

    I'd be totally happy to have a script which does just that. Would you be willing to share what you have so far? I can be reached here or at robert.gasch@value4business.com.

    Greetings/Thanks
    --> R
  • Actually, I have a question now for everyone and I'm not sure if this is the best place to ask it. My company now specializes in developing custom applications for, among other things, PostNuke. After thinking about this I see a definite possibility to create a module for webmail in PostNuke. PHP comes with a complete library of Imap functions and if nothing else we could also use the Imap library that SquirrelMail uses. The problem is, it will cost money to develop such a module, so it wouldn't be for free. Is that a big problem for everyone?

    Here is what I think the module could do without too much trouble:
    - Store multiple Pop/Imap accounts for each user.
    - Retrieve and send mail with attachments.
    - Display a block with a summary of the users mailboxes and the number of new/total messages.
    - Using PN security, restrict access to the entire module, or to certain parts.
    - Admin defines max number of email accounts per user.
    - Admin defines some default email servers for his site to use.
    - Admin defines a list of banned email servers.

    What do you guys think? By the way, I would be glad to share the block as it stands, but I am in the middle of making a few changes to it so I will try to get it up later today.

    regards,

    Lee
  • Okay kiddies, I got that block all worked out. Here is the download link for now:
    http://www.pnflashga…l_Block_v_1.0.phtml

    Enjoy!

    I will be posting this on blocks.postnuke.com as well.
  • Quote

    Actually, I have a question now for everyone and I'm not sure if this is the best place to ask it. My company now specializes in developing custom applications for, among other things, PostNuke. After thinking about this I see a definite possibility to create a module for webmail in PostNuke. PHP comes with a complete library of Imap functions and if nothing else we could also use the Imap library that SquirrelMail uses. The problem is, it will cost money to develop such a module, so it wouldn't be for free. Is that a big problem for everyone?


    Hi,

    while I applaud your efforts, I would have to say that I don't consider this a needed feature. There are plenty of 3rd party email readers which work well; I question the wisdom of creating another one, even if it's a PNModule.

    I've used Squirrelmail with PostWrap and it works just fine; for my purposes it's an acceptable solution which behaves as if it were a PN Module. After a while though I turned off the PostWrap integration because I didn't like the fact that running SQMail in Postnuke gave me less screen space for the email reader than I was used to having ...

    Just my thoughts on the matter ...

    Greetings/Thanks
    --> R
  • rgasch, thanks for the comments and your opinion. It definitely won't be for everyone, what is? I just feel like there is a demand for it due to the number of posts on this and other forums regarding email in PostNuke. I guess we will just have to wait and see how it turns out. If no one ends up wanting the module then nothing lost, because it will be more programming experience for us!

    -Lee
  • I would like to see HTML integration, maybe that htmlarea script. Too many webmail apps out there assume that all mail readers either love to see only text e-mails or that they know HTML. My visitors would like to send AND receive HTML enabled e-mails. Why can't webmail creators get that one right? I personally don't send HTML-enabled e-mails (for more than one reason) but my mother for example, is willing to pay extra each month for AOL b/c she can send the "pretty e-mails". I have since talked her out of it and introduced her to Outlook but that doesn't solve the need for remotely accessing her e-mail through webmail, hence the need for this mod in the first place. Wow, that was really rambly....is that a word?

This list is based on users active over the last 60 minutes.