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

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

Recommended Posts

Posted

Hi all,

I have a script that will send an record via email. I also create a table where a record is added every time an email is sent.

On the second table I have a "result" field where I would like to enter either "successful" or "unsuccessful". Does anyone know how do this when using "send mail".

Thanks

RudyM

Posted (edited)

My database has a similar function. I have a field for result, script looks something like this:

SetError Capture [On]

perform sending of email

If [Get( LastError ) = 0]

Set Field [resultfield; "Successful"]

Else

Set Field [resultfield; "Unsuccessful"]

End If

Commit Records/Requests

Edited by Guest

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