February 22, 201015 yr 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
February 22, 201015 yr You will need to pass in an array of email recipients. Please check this thread for a solution to your issue.
February 22, 201015 yr Author 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
February 24, 201015 yr Author 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, 201015 yr by Guest
February 28, 201015 yr Author 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
March 2, 201015 yr 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.
March 3, 201015 yr Author 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
Create an account or sign in to comment