Report not sending with

Hello I am trying to use a mouseClicked event Handler to execute and send a report by email but I can't seem to get it to do anything when the button is clicked

this is my code"Tallow pumps", project="Copy_Of_Joslin_test_CJL", action= "email",
actionSettings = {"to":[''], "smtpServerName":"", "from":"", "subject":"Production Report"})

any ideas would be helpful

Here are a few places to get started:

  1. Wrap your code in a try-catch block and print out any errors you might be getting.
  2. Make sure your smtpServerName is set to the name of your email server, not the IP address.
1 Like

the name of the smtpServerName was the problem thank you

1 Like