PHP interesse |
|
Hallo,
Ik heb een scipr om automatisch e-mail aan te maken.
Als je registreert zou je een a-mail adres moeten krijgen van de domein.
Nu wil ik graag iets uit het cpanel halen: De outlook config.
Zodat mensen geen net passport meer moeten gaan halen.
Hoe kan ik die outlook config uit mijn cpanel halen en de link op een webpagina laten plaatsen.
Os8
Edit: Dit vond ik in de broncode mss dat dat wel kan helpen.
<script>
function popreg(username) {
if (navigator.appName == "Microsoft Internet Explorer") {
document.write("<font size=-1><a href='javascript:regpop(");
document.write('"');
document.write(username);
document.write('"');
document.write(");'>");
document.write('Outlook (Express) AutoConfig');
document.write("</a></font>");
}
}
</script>
<script>
function regpop(username) {
alert('This will automaticlly install the proper mail setting for the ' + username + ' account into Microsoft (R) Outlook (Express)[tm]. Please close all running copies of Microsoft (R) Outlook (Express)[tm] before going forward! When finished start Microsoft (R) Outlook (Express)[tm] and it should have the ' + username + ' account configured for you.');
alert('If prompted to open or save this file choose "Open this file from its current location."');
alert('When asked if you would like to enter the information into the registry choose "Yes".');
document.location.href="email.reg?acct=" + username;
}
</script>
<tr>
<td><font size =
"2"><img src="/frontend/monsoon/images/mainacct.jpg"></font></td>
<td><img src = "/frontend/monsoon/images/arrowr.gif"></td>
<td><font size = "2">yotoo</font></td>
<td></td>
<td><a href="/frontend/monsoon/webmaillogin.html" target=neomail><img
src="/frontend/monsoon/images/webmail.jpg" border=0></a></td>
<td><a href="aging.html?user=yotoo"><img
src="/frontend/monsoon/images/aging.jpg" border=0></a></td>
<td>
<script>
<!-----
popreg('yotoo');
// ---->
</script>
<script> function popreg(username) { if (navigator.appName == "Microsoft Internet Explorer") { document.write("<font size=-1><a href='javascript:regpop("); document.write('"'); document.write(username); document.write('"'); document.write(");'>"); document.write('Outlook (Express) AutoConfig'); document.write("</a></font>"); } } </script> <script> function regpop(username) { alert('This will automaticlly install the proper mail setting for the ' + username + ' account into Microsoft (R) Outlook (Express)[tm]. Please close all running copies of Microsoft (R) Outlook (Express)[tm] before going forward! When finished start Microsoft (R) Outlook (Express)[tm] and it should have the ' + username + ' account configured for you.'); alert('If prompted to open or save this file choose "Open this file from its current location."'); alert('When asked if you would like to enter the information into the registry choose "Yes".'); document.location.href="email.reg?acct=" + username; } </script> <tr> <td><font size = "2"><img src="/frontend/monsoon/images/mainacct.jpg"></font></td> <td><img src = "/frontend/monsoon/images/arrowr.gif"></td> <td><font size = "2">yotoo</font></td> <td></td> <td><a href="/frontend/monsoon/webmaillogin.html" target=neomail><img src="/frontend/monsoon/images/webmail.jpg" border=0></a></td> <td><a href="aging.html?user=yotoo"><img src="/frontend/monsoon/images/aging.jpg" border=0></a></td> <td> <script> <!----- popreg('yotoo'); // ----> </script>
|