Contribute to this content
Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.
Returns the mail system that's installed on the host machine. Read-only XlMailSystem.
A variable that represents an Application object.
XlMailSystem can be one of these XlMailSystem constants.
This example displays the name of the mail system that's installed on the computer.
Select Case Application.MailSystem
MsgBox "Mail system is Microsoft Mail"
MsgBox "Mail system is PowerTalk"
MsgBox "No mail system installed"