回答編集履歴
1
追記
test
CHANGED
@@ -111,3 +111,41 @@
|
|
111
111
|
|
112
112
|
|
113
113
|
```
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
追記
|
118
|
+
|
119
|
+
```VBA
|
120
|
+
|
121
|
+
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
|
122
|
+
|
123
|
+
Select Case Item.SendUsingAccount.AccountType
|
124
|
+
|
125
|
+
Case Is = olExchange
|
126
|
+
|
127
|
+
MsgBox "ExchangeユーザーのPC"
|
128
|
+
|
129
|
+
'https://qiita.com/nukie_53/items/23b46841b291125cbab4さんの方法
|
130
|
+
|
131
|
+
Case Is = olPop3
|
132
|
+
|
133
|
+
MsgBox "Pop3ユーザーのPC"
|
134
|
+
|
135
|
+
'今までの方法
|
136
|
+
|
137
|
+
Case Else
|
138
|
+
|
139
|
+
MsgBox "Else"
|
140
|
+
|
141
|
+
End Select
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
Cancel = True
|
146
|
+
|
147
|
+
End Sub
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
```
|