AnsweredAssumed Answered

Send Mail: won't add address from record field

Question asked by AdrianWilliams on Jun 23, 2011
Latest reply on Jun 23, 2011 by mgores

Title

Send Mail: won't add address from record field

Post

I'm  doing a Find Record, then click a button to trigger this script to attach a PDF to an email:

Save Records as PDF [Restore; No dialog; "LetterDESL1.pdf"; Create email; Current record]
Set Variable [$PDFPath; Value: "Get (DocumentPath) & $LetterDESL1.pdf"]
Send Mail [Send via E-mail Client; To: Contact management::Email; Subject" Test Letter DESL 1"; Message "Test"

A fancy letterhead along with the recipients name and address etc, gets attached to the message body of the email OK as a PDF - great!  But the contents of the record's "Email" field does not get entered into the "To" filed of the email. Why isn't the email address (in third line of script) getting automatically entered?

The script steps are from a earlier Post in this Forum recommended by FileMaker.
Thanks,
Adrian

Outcomes