jodd-mail/src/main/java/jodd/mail/CommonEmail.java
public T headers(final Enumeration<Header> headersToSet) {
		while (headersToSet.hasMoreElements()) {
			final Header header = headersToSet.nextElement();
			header(header.getName(), header.getValue());
		}
		return _this();
	}
public T headers(final Enumeration<Header> headersToSet) {
		while (headersToSet.hasMoreElements()) {
			final Header header = headersToSet.nextElement();
			header(header.getName(), header.getValue());
		}
		return _this();
	}
public T headers ( final Enumeration < Header > headersToSet ) { while ( headersToSet . hasMoreElements ( ) ) { final Header header = headersToSet . nextElement ( ) ; header ( header . getName ( ) , header . getValue ( ) ) ; } return _this ( ) ; }
Sets headers.

@param headersToSet Headers to set.
@return this
@see #header(String, String)
Sets headers .