CODICE
#include <IE.au3>
#include <GUIConstants.au3>
$Skin = GUICreate("Fake Mailer - by Sky", 278, 239, 193, 124)
GUISetBkColor(0x000000)
$Gruppo1 = GUICtrlCreateGroup("Dati Email", 8, 8, 262, 217)
GUICtrlSetColor(-1, 0x00FF00)
$Mittente = GUICtrlCreateLabel("- Mittente", 16, 26, 75, 17)
GUICtrlSetColor(-1, 0x00FF00)
$MittenteInput = GUICtrlCreateInput("/// Email mittente ///", 90, 24, 170, 21)
GUICtrlSetColor(-1, 0xC0C0C0)
GUICtrlSetBkColor(-1, 0x6A6A6A)
$Destinatario = GUICtrlCreateLabel("- Destinatario", 16, 50, 75, 17)
GUICtrlSetColor(-1, 0x00FF00)
$DestinatarioInput = GUICtrlCreateInput("/// Email destinatario ///", 90, 48, 170, 21)
GUICtrlSetColor(-1, 0xC0C0C0)
GUICtrlSetBkColor(-1, 0x6A6A6A)
$Titolo = GUICtrlCreateLabel("- Titolo", 16, 74, 75, 17)
GUICtrlSetColor(-1, 0x00FF00)
$TitoloInput = GUICtrlCreateInput("/// Che bel titolo! ///", 90, 72, 170, 21)
GUICtrlSetColor(-1, 0xC0C0C0)
GUICtrlSetBkColor(-1, 0x6A6A6A)
$Testo = GUICtrlCreateLabel("- Testo", 15, 98, 75, 17)
GUICtrlSetColor(-1, 0x00FF00)
$TestoInput =GUICtrlCreateEdit(" >_>", 90, 96, 170, 120)
GUICtrlSetColor(-1, 0xC0C0C0)
GUICtrlSetBkColor(-1, 0x6A6A6A)
$Credit = GUICtrlCreateButton("Credit", 16, 120, 65, 32, 0)
$ddd = GUICtrlCreateLabel("- Testo", 15, 98, 75, 17)
GUICtrlSetColor(-1, 0x00FF00)
$Invia = GUICtrlCreateButton("Invia!", 16, 184, 65, 32, 0)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
While 1
$Mail = GUIGetMsg()
Switch $Mail
Case $GUI_EVENT_CLOSE
Exit
Case $invia
$Ricevente = guictrlread($DestinatarioInput)
$oIE = _IECreate ("http:/sitoweb/fakemailer.php?mittente=" & GUICtrlRead ($MittenteInput) & "&vittima="& GUICtrlRead ($DestinatarioInput) & "&titolo="& GUICtrlRead ($TitoloInput) & "&messaggio="& GUICtrlRead ($TestoInput) , 0, 0)
_IEQuit ($oIE)
TrayTip("Fake Mailer - by Sky", "Email inviata a " & @CRLF & '"' & $Ricevente & '"',0)
case $Credit
msgbox(0,"Crediti programma","Ideatore: Sky" & @CRLF & "Data creazione: 07/06/08" & @CRLF & "Versione: v1.0.")
EndSwitch
WEnd