![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello All, Im in the process of updating all our FileMaker files to be in 8.5. Most of the files are web enabled, and in FM6dev I was using the SMTPit plug in, a lot. We were hoping to not use a plug-in for 8.5, but I just read the help file for the Send Mail script step and it clearly states: "This script step is not web-compatible". I guess my question is, is there anyway around this ? (Im still working on the web interfaces for 8.5 so havent tested as yet). And if there is no way around it, what do most ppl use to email from FileMaker - through web interface..? thanking youse in advance.. ta, Maria |
#3
| |||
| |||
|
|
An easy-as-1-2-3 solution is to use the PHP mail() command in connection with the web viewer: 1) Get a server with PHP set up. It doesn't even have to be the one that FileMaker is running on. 2) Put a simple one-line "mailme.php" file with the script ?php mail ( $mailto, $subject, $body ); ? on the server. 3) Construct a url in FileMaker in the format: http://www.yourserver.com/mailme.php...t&body=Message |
#4
| |||
| |||
|
|
Hello All, Im in the process of updating all our FileMaker files to be in 8.5. Most of the files are web enabled, and in FM6dev I was using the SMTPit plug in, a lot. We were hoping to not use a plug-in for 8.5, but I just read the help file for the Send Mail script step and it clearly states: "This script step is not web-compatible". I guess my question is, is there anyway around this ? (Im still working on the web interfaces for 8.5 so havent tested as yet). And if there is no way around it, what do most ppl use to email from FileMaker - through web interface..? thanking youse in advance.. ta, Maria |
#5
| |||
| |||
|
|
What Bill suggests is very valid if you need to send mail without the user's email window popping up (I think that's what his method does). But a simpler way can be achieved without the php script. Add a "link" or FileMaker button that runs a script that uses the Open URL step and use as the url: mailto:someone (AT) anydomain (DOT) com&subject=Test&body=Message mariat_t wrote: Hello All, Im in the process of updating all our FileMaker files to be in 8.5. Most of the files are web enabled, and in FM6dev I was using the SMTPit plug in, a lot. We were hoping to not use a plug-in for 8.5, but I just read the help file for the Send Mail script step and it clearly states: "This script step is not web-compatible". I guess my question is, is there anyway around this ? (Im still working on the web interfaces for 8.5 so havent tested as yet). And if there is no way around it, what do most ppl use to email from FileMaker - through web interface..? thanking youse in advance.. ta, Maria -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Howard Schlossberg (818) 883-2846 FM Professional Solutions, Inc. Los Angeles FileMaker 8 Certified Developer Associate Member, FileMaker Solutions Alliance |
![]() |
| Thread Tools | |
| Display Modes | |
| |