EAddress Class Library


EmailAddressInfo Members

Sets the properties to pass to the GetLocalAddress method of the EmailAddressGenerator.

Properties

  Name Description
SeedValue Sets the seed value for the pseudo-random generator. The seed must be an integer value between 0 and 2,147, 483,647. The default value is 0.
AddressMaxLength An integer value that sets the maximum number of characters in the randomly generated local address string. The range of valid values is between 4 and 64. The default value is 64 characters.
AddressMinLength An integer value that sets the minimum number of characters in the randomly generated local address string. The range of valid values is between 4 and 64. The default value is 4 characters.
IsRandomLength Sets a Boolean value to determine whether the length of the local address is a random length between the minimum and maximum length, or the length is a fixed length as determined by the AddressMaxLength value. The default value is false.
HasPeriodCharacter Sets a Boolean value to determine whether the local address string contains at least one period character. The default value is false.
IsValidAddress Sets a Boolean value to determine whether the local address string is a valid local address. The default value is false.
InvalidCharacterSet Sets an array of ASCII characters that are invalid for the specific email account domain. The default value is null.
HasLeadingNumber Sets a Boolean value to determine whether the local address string starts with a number between 0 and 9. The default value is false.

Remarks

If the IsValidAddress property set to true EAddress will generate a string of characters that exclude the characters in the InvalidCharacterSet.

If the IsValidAddress property set to false EAddress will generate a string of characters that contains at least one character contained in the InvalidCharacterSet.

If the AddressMaxLength property is greater than 64 or less than 4 the AddressMaxLength property will default to 64 characters.

If the AddressMinLength property is greater than 64 or less than 4 the AddressMinLength property will default to 4 characters.