CFSCRIPT new mail() - how to format attributes
Hello, all,
I've worked with mail() in cfscript, before, but I've always used it as such:
newMail = new mail();
newMail.setTo("user@domain.com");
newMail.setFrom("anotheruser@anotherdomain.com");
newMail.setType("html");
I'm trying to use setAttributes(), but the Adobe docs don't mention anything about how the name/value pairs are formatted.
Is it like newMail.setAttributes(to="user@domain.com", from="another@another.com", type="html"); ???
Or do I need to use {} around the name and values?
Please provide an example.
V/r,
^ _ ^
