MailSystem Property
Applies To
Application object.
Description
Returns the mail system that's installed on the host machine. Can be one of the following XlMailSystem constants: xlNoMailSystem, xlMAPI, or xlPowerTalk. Read-only Long.
See Also
MailLogoff method, MailLogon method, MailSession property, SendMail method.
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