?
Solved

FM - Hyperlink in an Email using Exchange SMTP?

Posted on 2013-01-08
4
Medium Priority
?
395 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 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 2000 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

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

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…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…

601 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