September 24, 200124 yr I have an email form that sends a message to someone with a URL to view the particular record. This worked nicely when I was using a FileMaker script to send the mail. Now I am using the -MailTo, -MailSub and -MailFormat tags to send the mail. It all seems to work, but, in my "message.txt" file (-MailFormat) I have a replacement tag, which is the URL to the record. When displayed in the message I get "#38;" following all "&" in the url. rendering it useless. Somehow the text file is whacking in the "#38;" and I don't know how to get rid of it. Any ideas??
September 24, 200124 yr Carefully check the text in the format file. Note that it should only be ASCII text -- no formatting, nothing fancy. deelet the paragraph and retype it if needed. Is the mail working apart form that?
September 24, 200124 yr Author The only thing I have in the text file at this stage is the replacement tag. It looks like this: [FMP-Field:MF_Message] NB: MF_Message is a text calc that calculates the URL it looks like this: "http://132.1.80.208/forms/leave_forms/FMPro?-db=Annual_Leave.fp5&-format=Approval.htm&-lay=WEB" & "&-op=eq&Record_ID=" & Record_ID &"&-find" The mail works fine other wise, I have tried adding some text to the format file, and am happy with how it works appart from #38;. It is some thing to do with the text file though, because if I specify the same field as -MailSubject, it works fine. I originally tried MailFmtField, and found out the hard way that it is not supported by web companion 5.0v4 and up. I may use the subject line, but would prefer have it in the body. Cheers Hal
September 26, 200124 yr Author Vaughn, FYI Someone suggested trying this [FMP-Field:myfield,raw] It worked like a charm.
Create an account or sign in to comment