Greetings,
Has anyone out there used the JavaMail API and Activation EJB Framework,
I downloaded it from SUN, registered Mail API and the EJB framework in my
class path variables,
I'm running Microsoft Windows XP [Version 5.1.2600], J2 SDK 1.4.
In the demo folder there is a sample java file to compile called
sendhtml.java,
when compiling it I get this error,
C:\java>javac sendhtml.java
sendhtml.java:241: cannot resolve symbol
symbol : class ByteArrayDataSource
location: class sendhtml
new ByteArrayDataSource(sb.toString(), "text/html")));
^
1 error
Everything is configured properly.
Jesse Druehl wrote a java cfx called AuthSMTP, I thought I would ammend it
to send
HTML formating and attachments as the CFMAIL tag does not permit relaying,
with all credits
staying intact.
My edit of AuthSMTP also throws the same error and I thought it was a
reference to the class ByteArrayDataSource I was
not importing correctly, until I tried compiling the demo java file
sendhtml.
Would anyone have any ideas?
J
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4