jodd-mail/src/main/java/jodd/mail/EmailAttachmentBuilder.java
public EmailAttachmentBuilder name(final String name) {
		if (name != null && !name.trim().isEmpty()) {
			this.name = name;
		}
		return this;
	}
public EmailAttachmentBuilder name(final String name) {
		if (name != null && !name.trim().isEmpty()) {
			this.name = name;
		}
		return this;
	}
Sets file name.

@param name File name to set.
@return this