xochi Posted August 26, 2014 Posted August 26, 2014 In FM11 running under Mac OS X 10.8.5, using an email address as follows: Quote("John Smith <[email protected]>") Would properly format the email in Apple Mail. I recently upgraded my mac (to 10.9.4) and filemaker (to FMP 13) and now this technique is failing. Is there a way to do this in FMP13 and have it work?
Lee Smith Posted August 26, 2014 Posted August 26, 2014 Automatic message This topic has been moved from "FileMaker 13 General Discussion" to "Email".
xochi Posted September 4, 2014 Author Posted September 4, 2014 More info: In FM13, the following address format works (in that, the email is actually sent): "John Smith <[email protected]>" However, only the email address is kept, the "real name" part is lost. Is anyone else running into this issue?
xochi Posted November 7, 2014 Author Posted November 7, 2014 I have found a workaround that involves Applescript. The relevant Applescript commands look like this: " set eMail to make new outgoing message with properties " &" { " & " subject:" & Quote($subject) & ", " & " content:" & Quote($bodyFormatted) & ", " & " visible:true " & " } ¶ " & " repeat with toPerson in toList ¶" & " tell eMail ¶" & " set eName to extract name from toPerson ¶" & " set eAddress to extract address from toPerson ¶" & " make new to recipient at end of to recipients with properties { name: eName, address : eAddress} ¶" & " end tell ¶" & " end repeat ¶" & which uses the "extract name from" and "extract address from" which are handy applescript functions to convert something like this: "Real Name <[email protected]>" to name = Real Name address = [email protected] I just finished converting a VERY LARGE solution from FM11 to FM13, and this email problem was actually the biggest glitch I found.
Recommended Posts
This topic is 3661 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 accountSign in
Already have an account? Sign in here.
Sign In Now