Setting a standard e-mail address for contact email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KyleC
    Senior Member
    • Mar 2004
    • 291

    Setting a standard e-mail address for contact email

    setting a standard e-mail address in contactemail
    I got it working, when a user is logging in now the contactemail is set to :
    warning@domain.com

    My steps:
    1. I created a index.html

    With this Source :
    Code:
    <html>
    <head>
    <title>Cpanel</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
     
    <frameset rows="0,*" frameborder="NO" border="0" framespacing="0">
    <frame src="contact/saveemail.html?email=[url="http://kylecoburn.com:2095/3rdparty/squirrelmail/src/compose.php?send_to=warning%40domain.com"]warning@domain.com[/url]" name="topFrame"
    scrolling="NO" noresize >
    <frame src="index2.html" name="mainFrame">
    </frameset>
    <noframes><body>
     
    </body></noframes>
    </html>
    You can see the frameset is called index.html and calls
    'contact/saveemail.html?email=warning@domain.com' in the null sized frame
    and it calls index2.html in the second frame

    2. rename your normal index.html from the skin to index2.html
    3. upload index.html (your frameset) to your customized skin dir.


    The next time a user logs into his cpanel, and the skin is set to the customized one, the contactemail is set to warning@domain.com
    Without the user knowing.

    (Comment: i think this requires you use a custom cPanel Skin)

    By TjeeZe
    Last edited by KyleC; 03-29-2004, 02:06 PM.
    -Kyle

Working...