Jump to content

Error or not error ?


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

Recommended Posts

Hello,

I use ScripMaster and the SendEmail with  attachment script ;  I had no problems until I installed Printer Switch plugin myFMbutler. This pi creates the pdf file attached to the email; I get an error message (see screenshot). However the message is sent with his attachment and this explains the topic title !

What can I do to avoid that message ?

Thanks and regards

Noël

Capture d’écran 2016-01-16 à 11.49.24.png

Link to comment
Share on other sites

What it means is that for some reason the function is expecting a file parameter which according to that tis empty, and Groovy doesn't know what to do with it. It can't tell whether what you are sending is a string or an actual file path

Have you amended the script at all?? Can you post an example of the code and how you are creating the parameters to pass to it?

 

Link to comment
Share on other sites

Hello John

I have not made any modification to the code of the script given in samples with ScriptMaster ; I just registered the function and defined a variable in fileMaker. After creating various folders (by other SM scripts as createFolderFile...) I generate the pdf file in PrinterSwitch. Finally the path  $pathPS looks like  on Mac :

Quote

/Users/ND/Documents/DATAS_FIGON/RECUS_DEP/2016/Lerda_Suzanne13_01_2016.pdf

Then I defined a variable as

Quote

SendEmailWithAttachments( loufigoun 2::mail_assoc ; producteurs 2::mail_producteur ; "Votre apport du " & depots 2::date_depot ; "Vous souhaitant bonne réception" ; "smtp.free.fr" ; $pathPS )

Every thing runs fine but that message ; indeed an error management at the beginning of the filemaker script avoids the message to appear... But I should be happy to know why it appears !

Noël

Link to comment
Share on other sites

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