Solved

FM - Hyperlink in an Email using Exchange SMTP?

Posted on 2013-01-08
4
370 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 25

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 25

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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

627 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