Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hello,

Has someone an idea to use SendMail to send to multiple recipients ; I tried to put ; or , between adresses, but unsuccessfully !

Thanks for your interest

Noël

Posted

Thanks for your link. But I don't have sufficient knowledge to adapt the script ! Do you think I can find an example on the forum ?

Regards,

Noël

Posted (edited)

Since my previous message I reached RvH who was the author of the thread you indicated. I understood how to modify the original script to pass multiple recipients.

Another thing I can't do is to include in my FileMaker file all the process (instead of opening the scriptmaster sample file):

2 jars seems necessary : mail.jar and activation.jar ; I've downloaded them and imported in multimedia fields of FMP... but after how must I call them ?

Has someone done a little sample file I could get ?

Thanks for your help !

Noël

Don't worry ! I've found the solution in the documentation : SMloadjar !

Edited by Guest
Posted

Coming back !

I thought it was ok but no.

I want to have the functions sendMail and SendMailWithAttachments avalaible without opening and closing le sample SM File.

For that I have a multimedia file containing the cativation.jar and mail.jar ; on opening I define 2 variables to load these jars ; then I define 2 other variables to register and make avalaible the functions Sendmail.. An I have errors.

I join a pdf of the script and another of the errors.

Thanks for your help !

Noël

errors.pdf

script.pdf

Posted

Your errors show that you have not loaded your jars successfully. It looks like you are doing some sort of a calculation in your script in the SMLoadJar function. My guess is that this calculation is not properly pointing to your JARs which you have embedded. You may want to simplify your calculation and point directly to the JAR container fields.

Posted

Hello,

Finally I found mys mistake ! I had inserted these two jars in multimedia fields... but only with refrence to the path they were ! And then I had put them in the trash...

So stupid !

Thanks

Noël

This topic is 5390 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.