Noél Dubau Posted February 22, 2010 Posted February 22, 2010 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
Smef Posted February 22, 2010 Posted February 22, 2010 You will need to pass in an array of email recipients. Please check this thread for a solution to your issue.
Noél Dubau Posted February 22, 2010 Author Posted February 22, 2010 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
Noél Dubau Posted February 24, 2010 Author Posted February 24, 2010 (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 February 24, 2010 by Guest
Noél Dubau Posted February 28, 2010 Author Posted February 28, 2010 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
Smef Posted March 2, 2010 Posted March 2, 2010 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.
Noél Dubau Posted March 3, 2010 Author Posted March 3, 2010 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now