/** * Appends TO addresses. * * @param tos vararg of {@link EmailAddress}es to set. * @return this */ public T to(final EmailAddress... tos) { this.to = valueOrEmptyArray(tos); return _this(); }
/** * Appends REPLY-TO addresses. * * @param replyTo vararg of {@link EmailAddress}es to set. * @return this */ public T replyTo(final EmailAddress... replyTo) { this.replyTo = ArraysUtil.join(this.replyTo, valueOrEmptyArray(replyTo)); return _this(); }
/** * Appends CC addresses. * * @param ccs vararg of {@link EmailAddress}es to set. * @return this */ public T cc(final EmailAddress... ccs) { this.cc = ArraysUtil.join(this.cc, valueOrEmptyArray(ccs)); return _this(); }
/** * Appends TO addresses. * * @param tos vararg of {@link EmailAddress}es to set. * @return this */ public T to(final EmailAddress... tos) { this.to = valueOrEmptyArray(tos); return _this(); }
/** * Appends REPLY-TO addresses. * * @param replyTo vararg of {@link EmailAddress}es to set. * @return this */ public T replyTo(final EmailAddress... replyTo) { this.replyTo = ArraysUtil.join(this.replyTo, valueOrEmptyArray(replyTo)); return _this(); }
/** * Appends CC addresses. * * @param ccs vararg of {@link EmailAddress}es to set. * @return this */ public T cc(final EmailAddress... ccs) { this.cc = ArraysUtil.join(this.cc, valueOrEmptyArray(ccs)); return _this(); }