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.

Using BLAT to send email

Featured Replies

Has anyone used BLAT for sending email straight out of Filemaker on Windows? I'm hoping to find a small, simple sample file that shows the calculation field required to create the command line that BLAT needs.

In addition to the header info, I would have TO, SUBJECT, BODY and authentication.

Thanks for any pointers.

I have looked at Blat for direct mailing, but never followed up because I hoped for a cross-platform solution.

That said, blat's command syntax is pretty straightforward. The Blat command will look like:

-to -f -subject -body -server -pu -ppw

Presumably, you would store the sender, smtp server, pop username & password in Global fields in FM, and supply recipient, subject and body from the active record. You could create a calculation field:

MyMailField:

" -to " & RecipientEmail & " -f " & GlobalSender & " -subject " & MsgSubject & " -body " & Msgtext & " -server " & GlobalSmtpServer & " -pu " & GlobalUsername & " -ppw " & GlobalPassword

  • Author

THanks, T-Square!

I see how this would work except for the Msgtext that goes with the -body argument. Most likely the body will contain several paragraphs, and I could substitute pipes (|) for them so that the body will be a single string of text. But once that is sent to BLAT, I'm not sure how the paragraphs get formed again in the email message itself. I may have missed that in the BLAT help (blat.net), but it is a bit sparse.

I guess I'll try to experiment some more. I was playing around with it trying to get the authentication right and eventually got a nasty letter from my ISP saying someone had reported me for trying to make unathorized logins. ???

James

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.