Performing Script with Creation of New Record 
Author Message
 Performing Script with Creation of New Record
I'm new to FileMaker Pro and working with version 4.0.  Here is my problem:

I have an html form that creates a new record in a database.  This works
smoothly.  But I want to have a send mail script execute when the new
record is created.  The recipient of the send mail script will be the
address specified in the new record.

Is this possible without a plug-in?

Thanks in advance.

NOTE:  to reply to sender, please remove the nospam from the address.



Thu, 02 May 2002 03:00:00 GMT
 Performing Script with Creation of New Record

Quote:

> I'm new to FileMaker Pro and working with version 4.0.  Here is my problem:

> I have an html form that creates a new record in a database.  This works
> smoothly.  But I want to have a send mail script execute when the new
> record is created.  The recipient of the send mail script will be the
> address specified in the new record.

> Is this possible without a plug-in?

> Thanks in advance.

> NOTE:  to reply to sender, please remove the nospam from the address.

Yes, the easiest way to do this is by using a -SCRIPT command in
your CDML, that points to a script that uses the Send Mail command.
Something like

<INPUT TYPE="hidden" NAME="-SCRIPT" VALUE="sendmail">

where sendmail is the name of your script.  The Send Mail command
can send a message through Eudora or some other e-mail clients.
Outlook Express, notably, does not work, or at least I can't get it to.

Another way to do it that you might find superior is to use a
Javascript that copies the entered address to a -MailTo command in
your CDML.  You can see the Javascript that copies it in the HTML
source here:

http://pa44.resnet.cornell.edu/newusertemp.html

The advantage of this method is that the e-mail does not have to go
through your e-mail program, which is often a pain.

As always, feel free to write back if you have further questions.

-Peter

--
The Shame Eliminator: http://shameeliminator.cjb.net



Thu, 02 May 2002 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Selecting multiple records & performing script

2. New Request in script creating New Record.

3. Copy/New Record creation help needed...

4. adding new records & new record

5. script for automatic run once a new record is added

6. How do I execute a script each time user goes to new record

7. automatic script when a new record is made

8. Making a script run everytime i new record is opened

9. New record script

10. possible to run script when creating new record

11. possible to run script when creating new record


 
Powered by phpBB® Forum Software