Jump to content

Using BLAT to send email


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

Recommended Posts

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.

Link to comment
Share on other sites

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:


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

Link to comment
Share on other sites

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. ???


Link to comment
Share on other sites

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