Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Email from Server?

Featured Replies

Now that FMServer 9 can run scripts, has anyone had any success sending email from server. Are the SMPTit or MailIt plugins capable of sending email from a server script?

I havent tested this, but it is also something that I am curious about. I wouldnt see why it couldnt be done.

I am waiting for the day that FM could do this natively. : There was some talk at DevCon about it being a possible enhancement for a future release, but you probably already may know that. lol.

  • 4 weeks later...
  • Author

Just to let everyone know, I ended up using the zippShell plugin from FM9 server to call a perl script to handle sending the email via the unix mail (/usr/bin/mail).

[The perl script also ftp's a database backup offsite, then sends a simple email out saying that it did so.]

I asked Clay about this issue in general - he said any plugin would run from server as long as it doesn't try to make any UI calls (like, to bring up a license dialog).

  • 2 weeks later...

The folks at FMWebSchool have created an easy to use Dreamweaver extension module that writes php pages to send email. It is quite versatile and easy to install and use. It allows you to send all sorts of automatic emails like you could back inthe day when you were running FM5Ultd with the SMPTit plugin (oh, for those simpler times).

You have to have the FMStudio extension installed for the email module to work. For what they do, these products are a steal. I have no prayer of writing my own php without these aids, but even if I knew what I was doing, writing that crap has got to be tedious.

sending mail via PHP is fairly straight forward.

<?php

$to = '[email protected]';

$subject = 'the subject';

$message = 'hello';

$headers = 'From: [email protected]' . "rn" .

'Reply-To: [email protected]' . "rn" .

'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);

?>

more details here: http://us2.php.net/manual/en/function.mail.php

  • Newbies

I am interested in sending email from FSA...we have some online registrations that submit a reply when records have been added. Using older versions of Filemaker with plug-ins, this has been possible, however with FSA9 we are going to be converting the databases over and I need to make sure things will work. I have downloaded SMTPit 4 and tested it with Filemaker Advanced 9 and it works fine. I have placed the plug-in the server extension folder, and FSA recognizes that it is there. However when I go to enable the plug-in, Database Server crashes. Any ideas...? We are running OS X server.

  • 2 weeks later...
  • Author

Yes, SMPTit and some of the other plug-ins try to bring up UI (for licensing or configuration) which doesn't work when it runs on server.

I ended up using the zippScript plug-in to run a perl script to send email (via /usr/bin/mail on MacOS X).

  ZippScript

  • 2 weeks later...

I'm not done yet, but having promising results using the "Mail.it" plugin, installed on the server and then operated using server-scheduled scripts. I'll do a writeup when it's all working.

  • 1 month later...
  • Newbies

Hi,

it's would be intresting for me to.

Any success?

BR

Skyler

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.