Here's some java code that does exactly what I want to do.
http://www.rgagnon.com/javadetails/java-0458.html However, I want to run this code in a .cfm file on my
I'm clueless how to put this java code into a cfscript tag
with the right syntax.
Any pointers or tips to help me get started would be very
Here's one line in particular I'm not sure how to code:
Session mailSession = Session.getDefaultInstance(props,
The first few lines, I think I can code something like this:
<cffile action="read" file="#ExpandPath('email.eml')#/"
<cfobject type="java" name="props"
<cfset temp = props.put("mail.host", "smtp.test.com")>
<cfset temp2 = props.put("mail.transport.protocol",