Solved

Sending HTML Email

Posted on 2008-10-07
3
852 Views
Last Modified: 2012-05-05
I am using the EmailSetBody function of the 360 Works e mail plugin with Filemaker Pro 9. I am using some HTML code to insert a header, footer and some text in between. The header and footer are sourced from online and the text comes from a field on the database. This works! The only problem is that the text is not constrained to the width of the header and so this makes the email look odd. To solve this I used a table, but the code, GetAsCSS(Customer::Text Field), that worked great outside the table only shows the code, not the referred to text, when used in the table. I have attached a copy of the code I am using.

Can anyone help.

John
EmailSetBody(

    "<html><body>" &

"<table border=\"1\" bordercolor=\"#000000\" width=\"600\" bgcolor=\"#FEFEFE\">

<tr>

<td> <img src=\"http://address of the header.jpg\" ></td>

</tr>

<tr>

<td>  GetAsCSS ( Customers::Text Field )</td>

</tr>

<tr>

<td> <img src=\"http://address of the footer.jpg\" ></td>

</tr>

</table>" & 

    "</body></html>";

    "html"

)

Open in new window

0
Comment
Question by:Torchwood
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
lesouef earned 500 total points
Comment Utility
...<td>  GetAsCSS ( Customers::Text Field )</td>...
is the guilty one...
you need to concatenate fields or variable and text properly
...<td>" &   GetAsCSS ( Customers::Text Field ) & "</td>....
0
 

Author Closing Comment

by:Torchwood
Comment Utility
You are a complete legend. Thank you
0
 
LVL 28

Expert Comment

by:lesouef
Comment Utility
i'd rather be rich!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

763 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

7 Experts available now in Live!

Get 1:1 Help Now