with `mailObject = new mail()`, how can i set the ...
# lucee
j
with
mailObject = new mail()
, how can i set the priority for the mail?
mailObject.setPriority(1)
does not seem to work
r
It's been a long time since I've used the Mail object but I believe mailObject.setAttibutes(priority=1) is what you are looking for.
p
mailObject.addParam(name="X-Priority", value="1" );
z
keep in mind, all these objects are just cfml wrappers around the original tags https://github.com/lucee/Lucee/blob/5.3.8/core/src/main/java/resource/component/org/lucee/cfml/HelperBase.cfc#L153
j
Thanks!