Solved

FM - Hyperlink in an Email using Exchange SMTP?

Posted on 2013-01-08
4
364 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

740 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