Link to home
Start Free TrialLog in
Avatar of Torchwood
Torchwood

asked on

Sending HTML Email

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

ASKER CERTIFIED SOLUTION
Avatar of Member_2_908359
Member_2_908359
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Torchwood
Torchwood

ASKER

You are a complete legend. Thank you
i'd rather be rich!