Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

MailSend error -- "Unable to get users from GAL to select random users" #26

@William-Rohm

Description

@William-Rohm

[1] With one recipient specified, MailSend works as expected.
[2] With RandomRecipients specified, with or without an explicit DistributionList, MailSend returns the above error message and skips mail sending. The complete message is:

<Error Name="OpMailSend" Time="8/19/2015 10:12:30 AM">
  <Detail>Unable to get users from GAL to select random users
System.Runtime.InteropServices.COMException (0x8004010F): The property "http://schemas.microsoft.com/mapi/proptag/0x3D150102" is unknown or cannot be found.
   at Microsoft.Office.Interop.Outlook._PropertyAccessor.GetProperty(String SchemaName)
   at MailSim.ProvidersOM.MailStoreProviderOM.GetGlobalAddressList()
   at MailSim.ExecuteSequence.GetRecipients(String name, RecipientTypes[] type, Object[] recipientObject)</Detail>
</Error>
<Error Name="OpMailSend" Time="8/19/2015 10:12:30 AM">
  <Detail>Recipient is not specified, skipping the operation</Detail>
</Error>
<Error Name="OpMailSend" Time="8/19/2015 10:12:30 AM">
  <Detail>Failed to run task</Detail>
</Error>

[3] Here is the GAL from my Outlook client:
gal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions