Solved

FM - Hyperlink in an Email using Exchange SMTP?

Posted on 2013-01-08
4
356 Views
Last Modified: 2013-01-10
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
Comment
Question by:rvfowler2
  • 2
  • 2
4 Comments
 
LVL 24

Expert Comment

by:Will Loving
ID: 38756507
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
 
LVL 2

Author Comment

by:rvfowler2
ID: 38756633
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
 
LVL 24

Accepted Solution

by:
Will Loving earned 500 total points
ID: 38756840
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
 
LVL 2

Author Closing Comment

by:rvfowler2
ID: 38763774
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now