* Set reply to
(replyTo)
| 131 | * Set reply to |
| 132 | */ |
| 133 | setReplyTo(replyTo) { |
| 134 | if (this._checkProperty('replyTo', replyTo, [this._checkUndefined])) { |
| 135 | if (typeof replyTo !== 'string' && typeof replyTo.email !== 'string') { |
| 136 | throw new Error('String or address object expected for `replyTo`'); |
| 137 | } |
| 138 | this.replyTo = EmailAddress.create(replyTo); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * Set subject |
no test coverage detected