August 26, 201411 yr 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?
August 26, 201411 yr Automatic message This topic has been moved from "FileMaker 13 General Discussion" to "Email".
September 4, 201411 yr Author 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?
November 7, 201411 yr Author 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.
Create an account or sign in to comment