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.

RandomAttachments directory name only works inline, not on its own line #23

@William-Rohm

Description

@William-Rohm

This works inline:

<RandomAttachments Count="2">C:\MailSimDemo\DemoAttachments</RandomAttachments>

but a "directory doesn't exist" message is generated by this, with or without a trailing backslash:

   <RandomAttachments Count="2">
       C:\MailSimDemo\DemoAttachments
    </RandomAttachments>

The error message is:

8/13/2015 2:28:07 PM Error      : OpMailSendToARandomRecipient  : Directory
C:\MailSimDemo\DemoAttachments\
 doesn't exist, skipping attachment

which leads me to think that the parsing is taking the EOL characters along with the directory name string.

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