Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I have a button beside an email field set up to run a script to send an email to the email address contained in the field. The button works fine, launching outlook and a blank email form containing the email address from the field and the subject I have specified.

However, it doesn't pick up the signature I have set up in Outlook.

Is there a way to instruct the script to launch an email containing a specific signature from Outlook - either by using a particular email account, or by calling the signature itself?

Failing this, is there a way of putting a signature in the script itself?

KB

Posted

This is normal. I don't know of a way to get FileMaker to talk to Outlook and pick up a signature.

Your best bet is to put the text of the signature in the script.

set $bodyText to [whatever your email body text should be]

set $signature to [your signature text]

send mail ( to = whoever, cc = whoever, subject = whatever, body = $bodyText & ¶ & $signature )

Hope that helps.

James

Posted

This varies between e-mail clients. On Apple, Mail uses the default signature of the first account. However Outlook/Outlook Express won't use any signatures, not even the default.

Under no circumstances can you nominate which account to use.

Posted

I you are only looking to populate the recipient's address and not the email body try this:

Use OPEN URL instead of SEND MAIL. For the URL use a calculation like this:

"mailto:" & Table::AddressField

That should launch the default Outlook profile if it is not open, create a new message, and populate the TO address with the email address in your Filemaker database and your signature at the bottom.

Another advantage of using this technique is that Outlook releases its hold on Filemaker right away. If you hadn't noticed, when you use SEND MAIL Filemaker is locked solid until you actually send the message. With the technique I describe Outlook never locks Filemaker and both applications behave as you would expect.

The down side is that it is more difficult if not impossible to populate the body of the message with data from Filemaker.

If you need more information on the mailto syntax try this:

http://www.ianr.unl.edu/internet/mailto.html

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