- ©«¤l
- 549
- ¥DÃD
- 152
- ºëµØ
- 0
- ¿n¤À
- 691
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-8-10
- ³Ì«áµn¿ý
- 2022-9-7
|
[µo°Ý] ¦p¦ó±oª¾¦¹¦¸outlook¦@±µ¦¬¤F´X«Ê·s¶l¥ó?
- Private Sub Application_NewMailEx(ByVal EntryIDCollection As String)
- MsgBox "I'm working!", vbExclamation
- Dim varEntryIDs
- Dim objItem As Object
- Dim myItem As MailItem
- Dim i As Integer
- varEntryIDs = Split(EntryIDCollection, ",")
- For i = 0 To UBound(varEntryIDs)
- Set objItem = Application.Session.GetItemFromID(varEntryIDs(i))
- '## Check the item's TypeName and ONLY process if it's a MailItem:
- If TypeName(objItem) = "MailItem" Then
- Set myItem = objItem.Forward
- myItem.Recipients.Add "[email protected]"
- myItem.Send
- Else:
- MsgBox "Type of item is: " & TypeName(objItem)
- End If
- Next
- End Sub
½Æ»s¥N½X ³o¬Oºô¸ô¤W§ä¨ìªº¸ê®Æ
¦ý¥u¯à§ä¥X³Ì«á¤@«Êmail
¦p¦ó¥i¥H±oª¾¦¹¦¸±µ¦¬¤F¤«Êmail
¦Ó¤£¬O¥u§ìªº¨ì³Ì«á¤@«Ê«H©O?
½Ð¦U¦ì¤j¤j¨D§U! |
|