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

Server and Email Question


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

Recommended Posts

Posted

Hello,

I would like to use the sendmail script feature for a database telling the user that the request was received (once they hit the “save” button).

This database is going to be hosted by FMSA 8 on Mac OSX and do IWP. It’s a simple database for travel requests. Users will submit a travel requests and an admin will approve/deny or forward to committee etc.

I don’t have a default email client configured on a server. If I did, would someone need to be logged in at all times (to a server??)?

I am just not getting it. Any help or advice would be greatly appreciated.

Thanks in Advance

Posted

The Send Mail step is not web-compatible. You cannot use it in a script that's being activated by a web client.

Somebody will suggest a way of doing it on the server.

ANother method is to have a "drone" computer running FMP, commencted into the database, regularly running a "search for new requests and send an email" script.

  • 2 months later...
Posted (edited)

I was hoping to get a little help with my script. It's looping too much and sending out a million emails

Perform Find- Submission_Status=Submitted

Loop

Send Mail

Set Field- Submission_Status=Test

Go to Record/Request/Page - next, exit after last

End Loop

Thanks in advance

Edited by Guest
Posted

I'm working off the top of my head here. How about:

Set Error Capture[On]

Loop

Show All Records

Perform Find- Submission_Status = Submitted

If (Not(Get(LastError)))

Loop

Send Mail

Set Field- Submission_Status = Sent

Commit Record/Request[]

Go to Record/Request/Page - next, exit after last

End Loop

End If

Pause/Resume Script[someValue]

End Loop

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