Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
|
Lista Forumurilor Pe Tematici
|
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login
POZE MRRRR'S FORUM (VIEW ONLY)
Nu sunteti logat.
|
Nou pe simpatie: crazygirl
| Femeie 23 ani Buzau cauta Barbat 26 - 80 ani |
|
TRaP
Moderator
Inregistrat: acum 6 ani
Postari: 787
|
|
Source:
You must add the following code into ThisOutlookSession (not as a module).
Open Outlook and press ALT+F11 to open Visual Basic, then click on + for Microsoft Outlook Objects, double click on ThisOutlookSession and paste the following text:
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) Call SaveACopy(Item) End Sub
Sub SaveACopy(Item As Object) Const olMsg As Long = 3
Dim m As MailItem Dim savePath As String
If TypeName(Item) <> "MailItem" Then Exit Sub
Set m = Item
savePath = "D:\Test3\" '## Modify as needed savePath = savePath & Format(Now(), "yyyy.mm.dd__hh-NN-ss ") & m.Subject savePath = savePath & ".msg"
m.SaveAs savePath, olMsg
End Sub |
More info and options:
|
|
pus acum 6 ani |
|