Posts Tagged ‘roundcube email’

Integrating RoundCubeMail in your Website

This item was filled under [ PHP ]

To integrate *RoundCubeMail (for auto-login) in your own website, perform these two steps as defined on RoundCube Forum.
Edit your “index.php“..
1. Near line 240, modify the code as shown below:
// not logged in -> show login page
if (empty($USER->ID))
{
rcmail_login($_SESSION["www_user"], $_SESSION["www_pass"], $host);
if ($_task == "login")
header("Location: $RoundCubeDIR");
exit;
}
Here, $_SESSION variables contain value carried forward from your own website.
2. Now, update [...]

Continue reading...

Fixing attachment bug in RoundCubeMail

This item was filled under [ PHP ]

Often Word/Excel files do not appear in email message though the email contains attachment. I faced this issue using RoundCubeMail 0.1-stable. To fix it, simply download the updated version of PEAR MIME package from: http://pear.php.net/get/Mail_Mime
In your /program/lib/Mail/ directory, extract & replace with the new MIME package.
Try sending emails now, it should work properly!
*Actually [...]

Continue reading...