Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4901 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have been able to send HTML emails OK, with image links

I am now trying to add inline images, but it fails with "unable to resolve class DataSource"

in previous posts, you suggest I may need a jar file, but which one?

I have loaded mail.jar, and activation.jar

it seems something is missing

thanks!

Code:

MimeBodyPart imagePart = new MimeBodyPart();

DataSource fds = new FileDataSource( "C:\\images\\image.jpg" );

imagePart.setDataHandler(new DataHandler(fds));

Posted

Sounds like the plug-in didn't get build correctly. Are you sure there weren't any errors that got overlooked when you loaded those .jar files?

Posted

My Bad ...

I forgot the "import javax.activation.*;" in my code

that's where the class is

greg

PS

and where did they hide the Java Log on Windows 7. I can't find it!

This topic is 4901 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.