Jump to content

generating html formatted emails from FMPro


This topic is 8538 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I would like to generate html formatted emails out of FMPro. Mainly so I could have the name of a record appear as a link in the email that will take the reader to directly to the record detail page.

I created a calculation field that could be used as the body of an email. It looks something like;

html>

<head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

<body bgcolor="#FFFFFF">

<table width="500" border="0" cellspacing="0" cellpadding="5">

<tr valign="middle">

<td align="right"><b></b></td>

<td><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>The

following project was submitted on 3/5/2001 15:39:02</b></font></td>

</tr>

<tr valign="middle">

<td align="right"><b><font face="Verdana, Arial, Helvetica, sans-serif"

size="1">Project Title:</font></b></td>

<td><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><a

href="FMPro?-DB=webdev_project.fp5&-Format=ec_webdev_db_detail_view.html&-la

y=detail_web&id=106&-Find">Honger</a></font></td>

</tr>

etc...

Unfortunately, that's exactly how they appear when I receive them in Outlook Express. Unformatted, I just see all the html.

I'm using Eudora and FMPro and databases reside on a Mac. Do I need a special plug-in for FMPro?

Any help would be appreciated.

Link to comment
Share on other sites

The SMPTit Plug In will work.

this is a great plug-in. Hopefully it will help you out. It's only for outgoing, but they have one for incoming as well (POP3it). Or they package them together. Of course, i've never really understood why someone would want to use FM for incoming (out going i understand).

here ya go:

http://fmp.comm-unity.net/filemaker

--

To maybe give some insight. When sending an email, in order to make it "html mail" you must specify the mime type. The Mime coding is the coding that tells the mail where its going, what versions it is using, the return address, blah blah blah. It needs to have this line in it to make it HTML mail:

Content-Type: text/html

So if you can edit this info using your current setup with Eudora and scripting then you shouldn't really need the plug-in.

Hope something of the above helps.

Jeremy

Link to comment
Share on other sites

Jeremy,

Thanks. That was just the info I was looking for. I think we'll go with SMTPit. I'm looking into a few specifics first.

Re; incoming mail. Actually POPit, the incoming mail program might solve another solution we're looking into. We're trying to import automatically generated emails from another database and POPit maybe the solution.

Thanks for both!

Tom

Link to comment
Share on other sites

Well, as usual the client is trying to save a few bucks and there opting to go without SMTPit (although they are interested in POPit). Do you, or anyone else for that matter, know if there is a way to edit the mime type from FMPro without a plug in.

I spent some time at Eudora's site but couldn't find much. In Outlook Express you can set the default mail type, but when I send from OE it just adds some formats to my code, it doesn't parse the code.

Any additional help would be appreciated.

Link to comment
Share on other sites

This topic is 8538 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.