Jump to content

Emailing using xMail?


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

Recommended Posts

Hi there,

I was just wondering if someone could help me with a (hopefully) small problem I am having.

I recently downloaded the xMail OSAX from http://www.osaxen.com and have successfully configured an email script for our SMTP server. This all works fine with the Apple Script Editor and hard coded values.

The problem I am having is that I need to be able to send the following variables from Filemaker to the script B)

emailSubject - emailMessage - emailSender - emailRecipient

I currently have them hard coded into the script but would like to be able to fill in some fields in Filemaker and then have Filemaker send these values to the script (should it be a script document or saved as an application?) and then perform the script using these values.

Part of the xMail script is shown below :)

on sendEmail()

--> customize the following variables as you wish

set |to| to emailRecipient

set |from| to emailSender

end sendEmail

As you can see I would like to be able to fill in a field in Filemaker called emailRecipient and a field called emailSender and then pass these values to the script and perform it. There will also be two other (possibly more) field values needing to be sent.

I took a look at the help file in Filemaker but they only came up with a :

Perform AppleScript ["tell application "My Applet" to doMyRoutine()"]

which didn't show me how to pass variables to the script.

Any help with this would be greatly appreciated.

Regards,

Mark Bowen

Link to comment
Share on other sites

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