Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 381
  • Last Modified:

FM - Hyperlink in an Email using Exchange SMTP?

Is there a way to create a hyperlink in a Filemaker email script that uses Exchange SMTP?  For example, I can put the following path in the email, but not as a hyperlink.

file:/R:/SuperContainer/Files/TENANTS/KS100170/5918_0012/DeptOB/Revision1/KS100170_5918_0012_DeptOB_rev1.pdf

Thank you.
0
rvfowler2
Asked:
rvfowler2
  • 2
  • 2
1 Solution
 
Will LovingPresidentCommented:
I would assume it would need to be formatted as a hyperlink, meaning starting with http or https followed by IP address of your server and the correct path to the document.
0
 
rvfowler2Author Commented:
Yes, but don't you have to figure out a way to make the email HTML?  I can't see how to do it from an SMTP script.

Also, tried an http format, but cannot render it in a FM email.  I keep getting the error, "A number, text constant, field name or "(" is expected here.  I think it sees the slash going from left to right as a division symbol.

"\\upc-fs1\r-drive\SuperContainer\Files\TENANTS\" & 
fk_PropCode & fk_EntityNum & fk_BldgNum & "\" &
fk_UnitID & "_" & fk_TenantNum & "\" & fk_DocName & "\Revision" & RevNumber & "\" &
   fk_PropCode & fk_EntityNum & fk_BldgNum & "_" & fk_UnitID & "_" & fk_TenantNum & "_" &
fk_DocName & "_rev" & RevNumber & FileExtension
0
 
Will LovingPresidentCommented:
1. FileMaker email does not support sending HTML emails, it's plain text only. You can put in links and usually the recipients email client will interpret them as such and make them clickable, but you can't embed images, apply font or css formatting, etc.

2. I think the issue is that you're not using FileMakers "escape" character, the backslash. In order to make a backslash appear in a calculated text string it has to be preceded by another backslash, e.g.

"\\\\upc-fs1\\r-drive\\SuperContainer\\Files\TENANTS\\"  

      will yield

"\\upc-fs1\r-drive\SuperContainer\Files\TENANTS\"

Similarly, in order to include a double quote character in a calculated text string, it must also be preceded by a backslash, e.g.

"When you see \"THIS\", scream." will calculate as:

When you see "THIS", scream.

See this FileMaker KnowledgeBase article:
http://help.filemaker.com/app/answers/detail/a_id/456/kw/backslash
0
 
rvfowler2Author Commented:
Sorry, got hit with a crisis.  Will, thanks; I did not know about the escape backslash in FM.  The hyperlink text worked fine once I used the escape backslash.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now