The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel webmail Embedded in an iFrame

Discussion in 'cPanel Developers' started by Matt E, Oct 15, 2013.

  1. Matt E

    Matt E Registered

    Joined:
    Oct 15, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have a website which has a database that stores user email login credentials. I would like to embed the webmail for each user's email account into an iFrame. I am using HTTP authentication, so I would like something like this:

    <iframe style="width:100%;height:600px;" src="https://user:password@example.com:2096/3rdparty/roundcube/?_task=mail&_refresh=1&_mbox=INBOX"></iframe>

    cPanel responds to this by providing a 401 invalid login token. If you tell it to go to / instead of roundcube, it will work fine, but I'd like to to show roundcube immediately.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page