/** * Add a custom argument to the email. * @param key argument's key. * @param value the argument's value. */ public void addCustomArg(String key, String value) { this.customArgs = addToMap(key, value, this.customArgs); }
/** * Add a header to the email. * @param key the header's key. * @param value the header's value. */ public void addHeader(String key, String value) { this.headers = addToMap(key, value, this.headers); }
/** * Add a section to the email. * @param key the section's key. * @param value the section's value. */ public void addSection(String key, String value) { this.sections = addToMap(key, value, this.sections); }