Solved

Sending HTML Email

Posted on 2008-10-07
3
858 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
[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
3 Comments
 
LVL 28

Accepted Solution

by:
lesouef earned 500 total points
ID: 22668685
...<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
ID: 31504083
You are a complete legend. Thank you
0
 
LVL 28

Expert Comment

by:lesouef
ID: 22670891
i'd rather be rich!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

751 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