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

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

Recommended Posts

Posted

I have an created an AppleScript email that is run through Perform AppleScript and in Perform AppleScript Options, Native AppleScript is selected. It runs fine on one mac, but does not create an email in another mac. Both Macs are using the same database hosted on a third mac that is running Server 7. Anyone have any thoughts on this. Script is below.

Thanks in advance - Sam

set theSubject to cell "emailSubject" of current record

set theMessage to cell "invoice_email" of current record

set theRecipient to cell "dentist_info::emailandcc" of current record

set theSender to cell "emailSender" of current record

tell application "Mail"

set newMessage to make new outgoing message with properties {subject:theSubject, content:theMessage}

tell newMessage

set sender to theSender

make new to recipient at end of to recipients with properties {address:theRecipient}

tell content

end tell

save newMessage

end tell

end tell

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