Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
XlMailSystem
XlMailSystem can be one of these XlMailSystem constants. |
xlMAPI |
xlNoMailSystem |
xlPowerTalk |
expression.MailSystem
expression Required. An expression that returns one of the objects in the Applies To list.
Example
This example displays the name of the mail system that's installed on the computer.
Select Case Application.MailSystem
Case xlMAPI
MsgBox "Mail system is Microsoft Mail"
Case xlPowerTalk
MsgBox "Mail system is PowerTalk"
Case xlNoMailSystem
MsgBox "No mail system installed"
End Select
Applies to | Application Object
See Also | MailLogoff Method | MailLogon Method | MailSession Property | SendMail Method