Validating empty recipient within Email service

Description

EmailService.cfc > _validateArguments() to recipient is not validating empty recipient correctly: custom recipient type with empty record (due to deletion from main table after queuing) is converted to array with an element of empty string. This could not be trapped with current checking of ( !( sendArgs.to ?: [] ).len() ) {

Environment

None

Activity

Show:
Seb Duggan
April 6, 2018, 2:44 PM

Thanks Vivien...

Assignee

Unassigned

Reporter

Vivien Wong

Labels

None

Accepted

Yes

Fix versions

Affects versions

Priority

Medium
Configure